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 75c5526..0ca1dae 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;