aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBhumika Goyal <[email protected]>2016-02-26 15:34:30 +0530
committerGreg Kroah-Hartman <[email protected]>2016-03-11 22:09:09 -0800
commit4b25ce977e43f55f88df30a4d338b63bb597fdef (patch)
tree48b25a45f5d96f0f6c4fd37c85a6665ef5ac1de4 /tools/perf/scripts/python/syscall-counts.py
parent37491cd6fcf6474262fbff9c10208a8105573abf (diff)
Staging: rtl8723au: Use min macro instead of ternary operator
This patch replaces ternary operator with macro min as it shorter and thus increases code readability. Macro min return the minimum of the two compared values. Made a semantic patch for changes: @@ type T; T x; T y; @@ ( - x < y ? x : y + min(x,y) | - x > y ? x : y + max(x,y) ) Signed-off-by: Bhumika Goyal <[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