powerpc/pci: Remove duplicate logic
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 19 Jun 2014 07:22:45 +0000 (17:22 +1000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Jul 2014 22:45:04 +0000 (16:45 -0600)
commit21dd5a43d00ca513c6a4a31fa86bbe608f68ed49
tree9b392214633e8541344a8fbd9ced4408af8ebe78
parent9e33002fd1791bcab626b19301670484c1cb6d50
powerpc/pci: Remove duplicate logic

Since the logic to reset PCI secondary bus by PCI config register
PCI_BRIDGE_CTL_BUS_RESET is included in pci_reset_secondary_bus(), we
needn't implement another one.

Remove the duplicate implementation and call pci_reset_secondary_bus().

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/powerpc/kernel/pci-common.c