summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-02-09 15:52:31 +0100
committerBjorn Helgaas <bhelgaas@google.com>2016-03-08 22:41:38 +0100
commit8493a952432bf00138b3d3c53a9300e353c18a6d (patch)
treeb6fef1197994c58c151be21a09d00b0efe56deb1 /drivers/pci
parentPCI: tegra: Implement ->{add,remove}_bus() callbacks (diff)
downloadlinux-8493a952432bf00138b3d3c53a9300e353c18a6d.tar.xz
linux-8493a952432bf00138b3d3c53a9300e353c18a6d.zip
PCI: tegra: Remove unused struct tegra_pcie.num_ports field
The num_ports field of the tegra_pcie structure is never used so remove it. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pci-tegra.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c
index 75c55265ca73..0ca1dae16603 100644
--- a/drivers/pci/host/pci-tegra.c
+++ b/drivers/pci/host/pci-tegra.c
@@ -295,7 +295,6 @@ struct tegra_pcie {
struct tegra_msi msi;
struct list_head ports;
- unsigned int num_ports;
u32 xbar_config;
struct regulator_bulk_data *supplies;