PCI: xgene: Removed unused ".bus_shift" initialisers from pci-xgene.c
authorKrzysztof Wilczyński <kw@linux.com>
Sun, 29 Nov 2020 23:07:43 +0000 (23:07 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Dec 2020 20:56:11 +0000 (14:56 -0600)
Removed unused ".bus_shift" initialisers from pci-xgene.c as
xgene_pcie_map_bus() did not use these.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20201129230743.3006978-6-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pci-xgene.c

index 8e0db84..85e7c98 100644 (file)
@@ -257,7 +257,6 @@ static int xgene_v1_pcie_ecam_init(struct pci_config_window *cfg)
 }
 
 const struct pci_ecam_ops xgene_v1_pcie_ecam_ops = {
-       .bus_shift      = 16,
        .init           = xgene_v1_pcie_ecam_init,
        .pci_ops        = {
                .map_bus        = xgene_pcie_map_bus,
@@ -272,7 +271,6 @@ static int xgene_v2_pcie_ecam_init(struct pci_config_window *cfg)
 }
 
 const struct pci_ecam_ops xgene_v2_pcie_ecam_ops = {
-       .bus_shift      = 16,
        .init           = xgene_v2_pcie_ecam_init,
        .pci_ops        = {
                .map_bus        = xgene_pcie_map_bus,