* [PATCH] PCI: tegra: Remove unused struct tegra_pcie_bus
@ 2021-07-04 23:57 Krzysztof Wilczyński
2021-07-23 15:19 ` Lorenzo Pieralisi
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Wilczyński @ 2021-07-04 23:57 UTC (permalink / raw)
To: Thierry Reding
Cc: Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas, Jonathan Hunter,
Vidya Sagar, linux-pci
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 <kw@linux.com>
---
drivers/pci/controller/pci-tegra.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/pci/controller/pci-tegra.c b/drivers/pci/controller/pci-tegra.c
index 8069bd9232d4..64adb3fc22d6 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)
{
--
2.32.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] PCI: tegra: Remove unused struct tegra_pcie_bus
2021-07-04 23:57 [PATCH] PCI: tegra: Remove unused struct tegra_pcie_bus Krzysztof Wilczyński
@ 2021-07-23 15:19 ` Lorenzo Pieralisi
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Pieralisi @ 2021-07-23 15:19 UTC (permalink / raw)
To: Krzysztof Wilczyński, Thierry Reding
Cc: Lorenzo Pieralisi, Vidya Sagar, Jonathan Hunter, Rob Herring,
linux-pci, Bjorn Helgaas
On Sun, 4 Jul 2021 23:57:33 +0000, Krzysztof Wilczyński wrote:
> 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.
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-23 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-04 23:57 [PATCH] PCI: tegra: Remove unused struct tegra_pcie_bus Krzysztof Wilczyński
2021-07-23 15:19 ` Lorenzo Pieralisi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.