]> git.karo-electronics.de Git - linux-beck.git/commit
powerpc/powernv: Exclude root bus in pnv_pci_reset_secondary_bus()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 3 May 2016 05:41:45 +0000 (15:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 May 2016 11:54:27 +0000 (21:54 +1000)
commitc8ceacc22bce95d3a9cff198c9c27a30105a16b8
treeb18c57822bf59067f5c68c019482cff11b5e2a0b
parent4fad494321351f0ac412945c6a464109ad96734a
powerpc/powernv: Exclude root bus in pnv_pci_reset_secondary_bus()

The function pnv_pci_reset_secondary_bus() is called like below.
It's impossible for call the function on root bus. So it's safe
to remove the root bus case in the function. No functional changes
introduced.

   pci_parent_bus_reset() / pci_bus_reset() / pci_try_reset_bus()
   pci_reset_bridge_secondary_bus()
   pcibios_reset_secondary_bus()
   pnv_pci_reset_secondary_bus()

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c