]> 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)
commit2af39ca699e123f5d47a2a6d42ec767e76e5a6cb
tree5e2eafccd14fe2b76f9ac5dec7e27ed2df66de00
parentf311dda1992f7dae9787690f84a5ef9b6c997fa6
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