powerpc/pci: Remove duplicate check in pcibios_fixup_bus()
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 31 Jul 2013 08:43:56 +0000 (16:43 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 04:57:36 +0000 (14:57 +1000)
commit1a85d66bcc90e2cbdf04f70d6586b82532142e85
tree5e2eafccd14fe2b76f9ac5dec7e27ed2df66de00
parentc35d2a8c5f68e53ccbb4c0f64316a22af1729fca
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: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/pci-common.c