diff options
| author | Lorenzo Pieralisi <[email protected]> | 2020-09-04 14:27:10 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2020-09-07 09:53:49 +0000 |
| commit | 7d69b117c31305a36a72f337e80860478a5c8e4a (patch) | |
| tree | 0958a77b1a91bff6d685c21580bcb169c56f5c3d /drivers/pci/controller/pcie-xilinx-cpm.c | |
| parent | Linux 5.9-rc1 (diff) | |
| download | kernel-7d69b117c31305a36a72f337e80860478a5c8e4a.tar.gz kernel-7d69b117c31305a36a72f337e80860478a5c8e4a.zip | |
PCI: xilinx-cpm: Remove leftover bridge initialization
Some fields in the host bridge structure are now initialized
by default in the PCI/OF core functions therefore their
initialization in the host controller driver is superfluous.
Remove it.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Cc: Rob Herring <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx-cpm.c')
| -rw-r--r-- | drivers/pci/controller/pcie-xilinx-cpm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/controller/pcie-xilinx-cpm.c b/drivers/pci/controller/pcie-xilinx-cpm.c index f3082de44e8a..f92e0152e65e 100644 --- a/drivers/pci/controller/pcie-xilinx-cpm.c +++ b/drivers/pci/controller/pcie-xilinx-cpm.c @@ -572,12 +572,8 @@ static int xilinx_cpm_pcie_probe(struct platform_device *pdev) goto err_setup_irq; } - bridge->dev.parent = dev; bridge->sysdata = port->cfg; - bridge->busnr = port->cfg->busr.start; bridge->ops = (struct pci_ops *)&pci_generic_ecam_ops.pci_ops; - bridge->map_irq = of_irq_parse_and_map_pci; - bridge->swizzle_irq = pci_common_swizzle; err = pci_host_probe(bridge); if (err < 0) |
