PCI: tegra: Remove unused struct tegra_pcie_bus
Subsystems (4)
PATCH 1/1 PCI: tegra: Remove unused struct tegra_pcie_bus
Following the code refactoring completed in the commit 1fd92928bab5 ("PCI: tegra: Refactor configuration space mapping code") there are no more known users of struct tegra_pcie_bus.
Thus, remove declaration of struct tegra_pcie_bus as it's no longer needed and does not have any existing users left.
Signed-off-by Krzysztof Wilczyński <[email protected]>
--- drivers/pci/controller/pci-tegra.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/pci/controller/pci-tegra.c +0 -5
@@ -372,11 +372,6 @@ struct tegra_pcie_port {struct gpio_desc *reset_gpio; }; -struct tegra_pcie_bus { -struct list_head list; -unsigned int nr; -}; -static inline void afi_writel (struct tegra_pcie *pcie,u32 value,unsigned long offset) {
Signature · 1 line
2.32.0
Lorenzo Pieralisi
AppliedQuoted 6 lines · Krzysztof Wilczyński
Following the code refactoring completed in the commit
1fd92928bab5("PCI: tegra: Refactor configuration space mapping code") there are no more known users of structtegra_pcie_bus.Thus, remove declaration of struct
tegra_pcie_busas it's no longer needed and does not have any existing users left.
Applied to pci/tegra, thanks!
[1/1] PCI: tegra: Remove unused struct tegra_pcie_bus
https://git.kernel.org/lpieralisi/pci/c/6310a1526a
Thanks,
Lorenzo