]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
PCI: tegra: Remove unused struct 'tegra_pcie_soc'
authorDr. David Alan Gilbert <linux@treblig.org>
Mon, 27 May 2024 16:01:18 +0000 (17:01 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Jun 2024 19:57:36 +0000 (14:57 -0500)
'tegra_pcie_soc' has been unused since 56e15a238d92 ("PCI: tegra: Add
Tegra194 PCIe support").  Remove it.

Link: https://lore.kernel.org/r/20240527160118.37069-1-linux@treblig.org
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
drivers/pci/controller/dwc/pcie-tegra194.c

index 4537313ef37a9868dd5c26c9537234cf4e8e7d2c..a5ce887399b951f36083e0b34adb8147bb0f5139 100644 (file)
@@ -308,10 +308,6 @@ static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg)
        return readl_relaxed(pcie->appl_base + reg);
 }
 
-struct tegra_pcie_soc {
-       enum dw_pcie_device_mode mode;
-};
-
 static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie)
 {
        struct dw_pcie *pci = &pcie->pci;