1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/pci/controller/cadence
Li Chen e111ac7025 PCI: cadence: Drop unused member from struct cdns_plat_pcie
The struct cdns_plat_pcie contains a member called is_rc that is not
being used beyond being assigned a value within the cdns_plat_pcie_probe()
function, which is then not used for anything.

Thus, drop is_rc from the struct cdns_plat_pcie, especially since there
already is an is_rc member within the struct cdns_plat_pcie_of_data that
is actively used to convey information about the PCIe controller mode.

[kwilczynski: commit log]
Signed-off-by: Li Chen <lchen@ambarella.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2023-10-05 10:49:19 -05:00
..
Kconfig PCI: Use consistent controller Kconfig menu entry language 2023-04-20 16:18:04 -05:00
Makefile PCI: j721e: Add TI J721E PCIe driver 2020-08-03 14:49:55 +01:00
pci-j721e.c PCI: Explicitly include correct DT includes 2023-07-18 14:33:17 -05:00
pcie-cadence-ep.c PCI: cadence: Clear FLR in device capabilities register 2022-05-12 22:19:40 +01:00
pcie-cadence-host.c PCI: cadence: Fix Gen2 Link Retraining process 2023-05-08 09:16:57 +02:00
pcie-cadence-plat.c PCI: cadence: Drop unused member from struct cdns_plat_pcie 2023-10-05 10:49:19 -05:00
pcie-cadence.c PCI: Explicitly include correct DT includes 2023-07-18 14:33:17 -05:00
pcie-cadence.h PCI: Fix typos in docs and comments 2023-08-25 08:15:38 -05:00