]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Simplify pnv_eeh_set_option()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Thu, 8 Oct 2015 03:58:59 +0000 (14:58 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Oct 2015 09:42:15 +0000 (20:42 +1100)
commitf9433718d6aaecb162639e88150f18367e3ca8f5
tree226e07f7c2017fabb50cbb51372b5cc4365f779e
parent4d6186ca6f55b2f71be643af8a112c25e58ac516
powerpc/powernv: Simplify pnv_eeh_set_option()

This simplifies pnv_eeh_set_option() to avoid unnecessary nested
if statements, to improve readability. No functional changes.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/eeh-powernv.c