aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLeonardo Bras <[email protected]>2019-08-01 19:52:51 -0300
committerMichael Ellerman <[email protected]>2019-08-05 18:53:04 +1000
commit9616dda1aaddb2080122aaeab96ad7fc064e36b4 (patch)
tree87be0ac4271a40ede993bf20bef2ec0a9d386b32 /tools/perf/scripts/python
parent1ebe0dcce1750109181d666394b7dfd9af9ff645 (diff)
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 <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions