There are no more uses of struct rtsx_pcr.pcie_cap. Remove it.
Unified · Split
| @@ -1253,7 +1253,6 @@ static int rtsx_pci_init_hw(struct rtsx_pcr *pcr) · 1252 unmodified lines | ||
| 1253 | 1253 | rtsx_pci_write_register(pcr, RTS5228_LDO1_CFG1, RTS5228_LDO1_SR_TIME_MASK, |
| 1254 | 1254 | RTS5228_LDO1_SR_0_5); |
| 1255 | 1255 | |
| 1256 | − pcr->pcie_cap = pci_find_capability(pcr->pci, PCI_CAP_ID_EXP); | |
| 1257 | 1256 | rtsx_pci_writel(pcr, RTSX_HCBAR, pcr->host_cmds_addr); |
| 1258 | 1257 | |
| 1259 | 1258 | rtsx_pci_enable_bus_int(pcr); |
| @@ -1166,7 +1166,6 @@ struct rtsx_hw_param { · 1165 unmodified lines | ||
| 1166 | 1166 | struct rtsx_pcr { |
| 1167 | 1167 | struct pci_dev *pci; |
| 1168 | 1168 | unsigned int id; |
| 1169 | − int pcie_cap; | |
| 1170 | 1169 | struct rtsx_cr_option option; |
| 1171 | 1170 | struct rtsx_hw_param hw_param; |
| 1172 | 1171 | |