summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2016-02-09 17:52:31 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-03-09 00:41:38 +0300
commit8493a952432bf00138b3d3c53a9300e353c18a6d (patch)
treeb6fef1197994c58c151be21a09d00b0efe56deb1 /drivers/pci
parentb4d18d71ec12f9f0ad3190b65e1a33ef1e6f8561 (diff)
downloadlinux-8493a952432bf00138b3d3c53a9300e353c18a6d.tar.xz
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;