projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
157576d
)
misc: rtsx: remove unused function
author
Ricky Wu
<ricky_wu@realtek.com>
Wed, 30 Dec 2020 06:39:53 +0000
(14:39 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 5 Jan 2021 13:40:35 +0000
(14:40 +0100)
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>
drivers/misc/cardreader/rtsx_pcr.c
patch
|
blob
|
history
diff --git
a/drivers/misc/cardreader/rtsx_pcr.c
b/drivers/misc/cardreader/rtsx_pcr.c
index 2aa6648fa41f953051e839f37664ad08dbb9734e..d782754fa346cd64be21175757b80360dfdf9e8c 100644
(file)
--- 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,