aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <[email protected]>2016-02-25 17:26:55 +0530
committerGreg Kroah-Hartman <[email protected]>2016-02-25 22:41:48 -0800
commit2cda64cf6998a1d10961f69e2ac79c69b6d37795 (patch)
treeca86f56d035c920f60d8619859dbd4cf5c937cbe /tools/perf/scripts/python
parent8247bcb998f2824f89da2eb5ec21f3e7d4fa66a5 (diff)
staging: unisys: visorbus: Remove useless return variables
This patch removes unnecessary return variables and compresses the return logic. The coccinelle script that finds and fixes this issue is: @@ type T; identifier i,f; constant C; @@ - T i; ...when != i when strict ( return -C; | - i = + return f(...); - return i; ) Signed-off-by: Bhaktipriya Shridhar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions