summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <kw@linux.com>2021-07-04 23:57:33 +0000
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-07-23 16:19:08 +0100
commit6310a1526aa0b00b6d8a8205a753b5fcf2212eb2 (patch)
treef91ee18e346dcb93d1e80f6ae68ac54b51135cf6
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
downloadlwn-6310a1526aa0b00b6d8a8205a753b5fcf2212eb2.tar.gz
lwn-6310a1526aa0b00b6d8a8205a753b5fcf2212eb2.zip
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. 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>
-rw-r--r--drivers/pci/controller/pci-tegra.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c
index c979229a6d0d..4aa103aaa366 100644
--- a/drivers/pci/controller/pci-tegra.c
+++ b/drivers/pci/controller/pci-tegra.c
@@ -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)
{