aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGargi Sharma <[email protected]>2017-02-20 00:44:18 +0530
committerGreg Kroah-Hartman <[email protected]>2017-03-06 09:17:02 +0100
commit0743a78fde7cc561ad53b657be693e7f9981a73a (patch)
tree90e473ca82352e4d14235a0cd39dca3db2630cec /tools/perf/scripts/python
parent47db0f6c9a2210dc5a7c45551d63d7d69b5600a6 (diff)
staging: media: Remove ternary operator
Relational and logical operators evaluate to either true or false. Explicit conversion is not needed so remove the ternary operator. Done using coccinelle: @r@ expression A,B; symbol true,false; binary operator b = {==,!=,&&,||,>=,<=,>,<}; @@ - (A b B) ? true : false + A b B Signed-off-by: Gargi Sharma <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions