summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host/pci-tegra.c
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 15:41:38 -0600
commit8493a952432bf00138b3d3c53a9300e353c18a6d (patch)
treeb6fef1197994c58c151be21a09d00b0efe56deb1 /drivers/pci/host/pci-tegra.c
parentb4d18d71ec12f9f0ad3190b65e1a33ef1e6f8561 (diff)
downloadop-kernel-dev-8493a952432bf00138b3d3c53a9300e353c18a6d.zip
op-kernel-dev-8493a952432bf00138b3d3c53a9300e353c18a6d.tar.gz
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/host/pci-tegra.c')
-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 75c5526..0ca1dae 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;
OpenPOWER on IntegriCloud