diff options
author | Li Chen <me@linux.beauty> | 2023-07-05 18:15:51 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-05 10:49:19 -0500 |
commit | e111ac7025cb8aff275dda40ca09f9de9f84b7e9 (patch) | |
tree | 13770ce37392bb135d33025f1bbfab98712edf11 /drivers/pci/controller/pcie-xilinx.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
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>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx.c')
0 files changed, 0 insertions, 0 deletions