aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAlison Schofield <[email protected]>2016-02-24 09:20:17 -0800
committerGreg Kroah-Hartman <[email protected]>2016-03-11 22:09:09 -0800
commit3589d3c9e39889fcac8fa0cb9f5bb3006d7d0d51 (patch)
tree592a1ef9d23a51fc7aa4913731791e6613e35644 /tools/perf/scripts/python/check-perf-trace.py
parent7ce1b3d3caa712686eaf295a200718b93dcd57da (diff)
staging: fbtft: replace ternary operator with min macro
Use macro min() to get the minimum of two values for brevity and readability. Found using Coccinelle: @@ type T; T x; T y; @@ ( - x < y ? x : y + min(x,y) | - x > y ? x : y + max(x,y) ) Signed-off-by: Alison Schofield <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions