aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-mvebu.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2020-07-22 02:24:58 +0000
committerLorenzo Pieralisi <[email protected]>2020-07-23 10:20:50 +0000
commitd3bb94d06aae0f47d492f2999d024d58ce1baea9 (patch)
treed1d9d2ae702ecf4d00c643375130cf77d3cce103 /drivers/pci/controller/pci-mvebu.c
parentPCI: Set default bridge parent device (diff)
downloadkernel-d3bb94d06aae0f47d492f2999d024d58ce1baea9.tar.gz
kernel-d3bb94d06aae0f47d492f2999d024d58ce1baea9.zip
PCI: Drop unnecessary zeroing of bridge fields
The struct pci_host_bridge is 0 initialized when allocated, so there's no need to explicitly set fields to 0. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Cc: Lorenzo Pieralisi <[email protected]> Cc: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-mvebu.c')
-rw-r--r--drivers/pci/controller/pci-mvebu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c
index 7be6db851614..db93823a2dcb 100644
--- a/drivers/pci/controller/pci-mvebu.c
+++ b/drivers/pci/controller/pci-mvebu.c
@@ -1117,7 +1117,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)
pcie->nports = i;
bridge->sysdata = pcie;
- bridge->busnr = 0;
bridge->ops = &mvebu_pcie_ops;
bridge->map_irq = of_irq_parse_and_map_pci;
bridge->swizzle_irq = pci_common_swizzle;