aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/cardreader
diff options
context:
space:
mode:
authorGravatar Ricky Wu <ricky_wu@realtek.com> 2020-12-30 14:39:53 +0800
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-01-05 14:40:35 +0100
commit38d98d73be9f5f90b63d56d73afffa6c9de59c02 (patch)
tree627e9dabc4686f9721981368b15597b8661b6e15 /drivers/misc/cardreader
parentmisc: remove atmel_tclib (diff)
downloadlinux-38d98d73be9f5f90b63d56d73afffa6c9de59c02.tar.gz
linux-38d98d73be9f5f90b63d56d73afffa6c9de59c02.tar.bz2
linux-38d98d73be9f5f90b63d56d73afffa6c9de59c02.zip
misc: rtsx: remove unused function
removed unused function 'rtsx_pci_disable_aspm' Signed-off-by: Ricky Wu <ricky_wu@realtek.com> Link: https://lore.kernel.org/r/20201230063953.10972-1-ricky_wu@realtek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cardreader')
-rw-r--r--drivers/misc/cardreader/rtsx_pcr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/misc/cardreader/rtsx_pcr.c b/drivers/misc/cardreader/rtsx_pcr.c
index 2aa6648fa41f..d782754fa346 100644
--- a/drivers/misc/cardreader/rtsx_pcr.c
+++ b/drivers/misc/cardreader/rtsx_pcr.c
@@ -59,12 +59,6 @@ static const struct pci_device_id rtsx_pci_ids[] = {
MODULE_DEVICE_TABLE(pci, rtsx_pci_ids);
-static inline void rtsx_pci_disable_aspm(struct rtsx_pcr *pcr)
-{
- pcie_capability_clear_and_set_word(pcr->pci, PCI_EXP_LNKCTL,
- PCI_EXP_LNKCTL_ASPMC, 0);
-}
-
static int rtsx_comm_set_ltr_latency(struct rtsx_pcr *pcr, u32 latency)
{
rtsx_pci_write_register(pcr, MSGTXDATA0,