summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorLeonardo Bras <leonardo@linux.ibm.com>2019-08-02 00:52:51 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-05 10:53:04 +0200
commit9616dda1aaddb2080122aaeab96ad7fc064e36b4 (patch)
tree87be0ac4271a40ede993bf20bef2ec0a9d386b32 /arch/powerpc/sysdev
parentpowerpc/xive: Update comment referencing magic loads from an ESB (diff)
downloadlinux-9616dda1aaddb2080122aaeab96ad7fc064e36b4.tar.xz
linux-9616dda1aaddb2080122aaeab96ad7fc064e36b4.zip
powerpc/pseries/hotplug-memory.c: Replace nested ifs by switch-case
I noticed these nested ifs can be easily replaced by switch-cases, which can improve readability. Signed-off-by: Leonardo Bras <leonardo@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190801225251.17864-1-leonardo@linux.ibm.com
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions