summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-v3-semi.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-07-22 05:24:58 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-07-23 13:20:50 +0300
commitd3bb94d06aae0f47d492f2999d024d58ce1baea9 (patch)
treed1d9d2ae702ecf4d00c643375130cf77d3cce103 /drivers/pci/controller/pci-v3-semi.c
parent6a589900d05091dfec6d9d1f35245a6578cccee6 (diff)
downloadlinux-d3bb94d06aae0f47d492f2999d024d58ce1baea9.tar.xz
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/20200722022514.1283916-4-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/controller/pci-v3-semi.c')
-rw-r--r--drivers/pci/controller/pci-v3-semi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/pci-v3-semi.c b/drivers/pci/controller/pci-v3-semi.c
index e8b5e55803b2..d79af39e6e60 100644
--- a/drivers/pci/controller/pci-v3-semi.c
+++ b/drivers/pci/controller/pci-v3-semi.c
@@ -724,8 +724,6 @@ static int v3_pci_probe(struct platform_device *pdev)
return -ENOMEM;
host->ops = &v3_pci_ops;
- host->busnr = 0;
- host->msi = NULL;
host->map_irq = of_irq_parse_and_map_pci;
host->swizzle_irq = pci_common_swizzle;
v3 = pci_host_bridge_priv(host);