aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2018-04-24 15:49:50 +0200
committerGreg Kroah-Hartman <[email protected]>2018-04-25 15:50:18 +0200
commit0ff7968d6a8d8293968e1be55a458f9d34a6dff4 (patch)
tree1bde8379221d49718ab0b0e47ff61a6bb855138f /tools/perf/scripts/python/syscall-counts.py
parent5dfd0cfeeee5440b242b2c8578fc41a09aa26430 (diff)
staging: ks7010: avoid some if-else code in get_current_ap function
This commits avoid some if-else code extracting common code before its use and making use of a new variable 'size' which is assigned using a ternary operator. This improves readability. Signed-off-by: Sergio Paracuellos <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions