summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorSam Bobroff <sam.bobroff@au1.ibm.com>2018-03-21 13:06:40 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-27 23:45:14 +1100
commit54048cf876615285363f6f6c21014bf2462ebe0d (patch)
tree73bbea88178db69adfc2b79b127402cf542c9b3f /arch/powerpc/include
parentd3136d771292b87cfc217a528aa50acec0b2b84f (diff)
powerpc/eeh: Factor out common code eeh_reset_device()
The caller will always pass NULL for 'rmv_data' when 'eeh_aware_driver' is true, so the first two calls to eeh_pe_dev_traverse() can be combined without changing behaviour as can the two arms of the final 'if' block. This should not change behaviour. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions