diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-05-03 08:41:45 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-05-11 14:54:27 +0300 |
commit | c8ceacc22bce95d3a9cff198c9c27a30105a16b8 (patch) | |
tree | b18c57822bf59067f5c68c019482cff11b5e2a0b /drivers/vfio | |
parent | 4fad494321351f0ac412945c6a464109ad96734a (diff) | |
download | linux-c8ceacc22bce95d3a9cff198c9c27a30105a16b8.tar.xz |
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>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions