From: Thierry Reding Date: Tue, 9 Feb 2016 14:52:31 +0000 (+0100) Subject: PCI: tegra: Remove unused struct tegra_pcie.num_ports field X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8493a952432bf00138b3d3c53a9300e353c18a6d;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Bjorn Helgaas --- 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;