OSDN Git Service

powerpc/powernv/sriov: De-indent setup and teardown
authorOliver O'Halloran <oohall@gmail.com>
Wed, 22 Jul 2020 06:57:11 +0000 (16:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:23 +0000 (23:34 +1000)
commit052da31d45fc71238ea8bed7e9a84648a1ee0bf3
tree5af6969fe1e727ff1a0742117b91887efc455519
parentd29a2488d2c020032fdb1fe052347a6021e3591d
powerpc/powernv/sriov: De-indent setup and teardown

Remove the IODA2 PHB checks. We already assume IODA2 in several places so
there's not much point in wrapping most of the setup and teardown process
in an if block.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722065715.1432738-12-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-sriov.c
arch/powerpc/platforms/powernv/pci.h