History

misc: rtsx: Remove unused pcie_cap

There are no more uses of struct rtsx_pcr.pcie_cap. Remove it.

Bjorn Helgaas committed 6 years ago

Commit df746b31 parent ff36dc62 files · +0 −2Browse files

Unified · Split

2 files
  1. drivers/misc/cardreader/rtsx_pcr.c +0 −1
  2. include/linux/rtsx_pci.h +0 −1
drivers/misc/cardreader/rtsx_pcr.c+0−1
@@ -1253,7 +1253,6 @@ static int rtsx_pci_init_hw(struct rtsx_pcr *pcr) · 1252 unmodified lines
12531253 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG1, RTS5228_LDO1_SR_TIME_MASK,
12541254 RTS5228_LDO1_SR_0_5);
12551255
1256− pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP);
12571256 rtsx_pci_writel(pcr, RTSX_HCBAR, pcr->host_cmds_addr);
12581257
12591258 rtsx_pci_enable_bus_int(pcr);
include/linux/rtsx_pci.h+0−1
@@ -1166,7 +1166,6 @@ struct rtsx_hw_param { · 1165 unmodified lines
11661166 struct rtsx_pcr {
11671167 struct pci_dev *pci;
11681168 unsigned int id;
1169− int pcie_cap;
11701169 struct rtsx_cr_option option;
11711170 struct rtsx_hw_param hw_param;
11721171

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t