diff options
| author | Rob Herring <[email protected]> | 2020-07-22 02:24:58 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2020-07-23 10:20:50 +0000 |
| commit | d3bb94d06aae0f47d492f2999d024d58ce1baea9 (patch) | |
| tree | d1d9d2ae702ecf4d00c643375130cf77d3cce103 /drivers/pci/controller/pci-ftpci100.c | |
| parent | PCI: Set default bridge parent device (diff) | |
| download | kernel-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-ftpci100.c')
| -rw-r--r-- | drivers/pci/controller/pci-ftpci100.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/pci-ftpci100.c b/drivers/pci/controller/pci-ftpci100.c index db887cbbec09..5441a5f92739 100644 --- a/drivers/pci/controller/pci-ftpci100.c +++ b/drivers/pci/controller/pci-ftpci100.c @@ -437,8 +437,6 @@ static int faraday_pci_probe(struct platform_device *pdev) return -ENOMEM; host->ops = &faraday_pci_ops; - host->busnr = 0; - host->msi = NULL; host->map_irq = of_irq_parse_and_map_pci; host->swizzle_irq = pci_common_swizzle; p = pci_host_bridge_priv(host); |
