summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorGavin Shan2016-05-03 07:41:44 +0200
committerMichael Ellerman2016-05-11 13:54:26 +0200
commit4fad494321351f0ac412945c6a464109ad96734a (patch)
treec0a8c487d5af6217864e25ab4b16f263f732bc83 /arch/microblaze
parentpowerpc/pci: Don't scan empty slot (diff)
downloadkernel-qcow2-linux-4fad494321351f0ac412945c6a464109ad96734a.tar.gz
kernel-qcow2-linux-4fad494321351f0ac412945c6a464109ad96734a.tar.xz
kernel-qcow2-linux-4fad494321351f0ac412945c6a464109ad96734a.zip
powerpc/powernv: Simplify pnv_eeh_reset()
This drops unnecessary nested if statements in pnv_eeh_reset() to improve the code readability. After the changes, the unused local variable "ret" is dropped as well. No logical changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions