PCI: cadence: Drop unused member from struct cdns_plat_pcie
authorLi Chen <me@linux.beauty>
Wed, 5 Jul 2023 10:15:51 +0000 (18:15 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Oct 2023 15:49:19 +0000 (10:49 -0500)
commite111ac7025cb8aff275dda40ca09f9de9f84b7e9
tree13770ce37392bb135d33025f1bbfab98712edf11
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
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>
drivers/pci/controller/cadence/pcie-cadence-plat.c