aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEva Rachel Retuya <[email protected]>2016-02-21 15:29:38 +0800
committerGreg Kroah-Hartman <[email protected]>2016-02-25 22:34:19 -0800
commit87f35f02a9193b83657d60695bf981d1a2255fda (patch)
treeaee97506c6bbeac5f9fcf5844a940c9c4fd5db87 /tools/perf/scripts/python/bin
parent91dd941996e4a626f9467a33e3573bd7c119e914 (diff)
staging: most: compress return logic into one line
Eliminate local variable 'ret' and modify return statement to contain the value being returned directly instead of assigning it first to 'ret' and returning this variable. Coccinelle semantic patch used: @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by: Eva Rachel Retuya <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions