Skip to content

Commit

Permalink
PCI: tegra: Remove unused struct tegra_pcie_bus
Browse files Browse the repository at this point in the history
Following the code refactoring completed in the commit 1fd9292
("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/[email protected]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
  • Loading branch information
kwilczynski authored and Lorenzo Pieralisi committed Jul 23, 2021
1 parent e73f0f0 commit 6310a15
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/pci/controller/pci-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6310a15

Please sign in to comment.