Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a85d66b authored by Gavin Shan's avatar Gavin Shan Committed by Benjamin Herrenschmidt
Browse files

powerpc/pci: Remove duplicate check in pcibios_fixup_bus()



pci_read_bridge_bases() already checks if the PCI bus is root
bus or not, so we needn't do same check in pcibios_fixup_bus()
and just remove it.

Signed-off-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent c35d2a8c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1055,7 +1055,6 @@ void pcibios_fixup_bus(struct pci_bus *bus)
	 * bases. This is -not- called when generating the PCI tree from
	 * the OF device-tree.
	 */
	if (bus->self != NULL)
	pci_read_bridge_bases(bus);

	/* Now fixup the bus bus */