Skip to content

Commit 73fb992

Browse files
shawnguo2Lorenzo Pieralisi
authored andcommitted
PCI: histb: Drop unnecessary root_bus_nr setting
Function dw_pcie_host_init() already initializes the root_bus_nr field of 'struct pcie_port', so the -1 assignment prior to calling dw_pcie_host_init() in platform specific driver is not really needed. Drop it. Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Cc: Jianguo Sun <[email protected]>
1 parent 3513f81 commit 73fb992

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/pci/controller/dwc/pcie-histb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ static int histb_pcie_probe(struct platform_device *pdev)
420420
phy_init(hipcie->phy);
421421
}
422422

423-
pp->root_bus_nr = -1;
424423
pp->ops = &histb_pcie_host_ops;
425424

426425
platform_set_drvdata(pdev, hipcie);

0 commit comments

Comments
 (0)