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
1253 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG1, RTS5228_LDO1_SR_TIME_MASK,1253 rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG1, RTS5228_LDO1_SR_TIME_MASK,
1254 RTS5228_LDO1_SR_0_5);1254 RTS5228_LDO1_SR_0_5);
1255 1255
1256 pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP);
1257 rtsx_pci_writel(pcr, RTSX_HCBAR, pcr->host_cmds_addr);1256 rtsx_pci_writel(pcr, RTSX_HCBAR, pcr->host_cmds_addr);
1258 1257
1259 rtsx_pci_enable_bus_int(pcr);1258 rtsx_pci_enable_bus_int(pcr);
include/linux/rtsx_pci.h+0−1
@@ -1166,7 +1166,6 @@ struct rtsx_hw_param { · 1165 unmodified lines
1166struct rtsx_pcr {1166struct rtsx_pcr {
1167 struct pci_dev *pci;1167 struct pci_dev *pci;
1168 unsigned int id;1168 unsigned int id;
1169 int pcie_cap;
1170 struct rtsx_cr_option option;1169 struct rtsx_cr_option option;
1171 struct rtsx_hw_param hw_param;1170 struct rtsx_hw_param hw_param;
1172 1171

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