PCI: tegra: Remove unused struct tegra_pcie.num_ports field
authorThierry Reding <treding@nvidia.com>
Tue, 9 Feb 2016 14:52:31 +0000 (15:52 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Mar 2016 21:41:38 +0000 (15:41 -0600)
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>
drivers/pci/host/pci-tegra.c

index 75c55265ca7340915eebb05fd1f5bc97897ab4d7..0ca1dae166037937e2a974d989278a5671ced331 100644 (file)
@@ -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;