PCI: tegra: Remove unused struct tegra_pcie_bus
authorKrzysztof Wilczyński <kw@linux.com>
Sun, 4 Jul 2021 23:57:33 +0000 (23:57 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 23 Jul 2021 15:19:08 +0000 (16:19 +0100)
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.

Link: https://lore.kernel.org/r/20210704235733.2514131-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pci-tegra.c

index c979229..4aa103a 100644 (file)
@@ -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)
 {