]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4cd21ccb221b5d8a64c317fb0f6d68e2e4bb858
tree5e2eafccd14fe2b76f9ac5dec7e27ed2df66de00
parent0a9f7e1d194ab622efd6ee84dec26858eacac8a2
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