diff options
author | Leonardo Bras <leonardo@linux.ibm.com> | 2019-08-02 00:52:51 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-08-05 10:53:04 +0200 |
commit | 9616dda1aaddb2080122aaeab96ad7fc064e36b4 (patch) | |
tree | 87be0ac4271a40ede993bf20bef2ec0a9d386b32 /arch/powerpc/sysdev | |
parent | powerpc/xive: Update comment referencing magic loads from an ESB (diff) | |
download | linux-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