aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBhaktipriya Shridhar <[email protected]>2016-02-25 01:57:54 +0530
committerGreg Kroah-Hartman <[email protected]>2016-02-25 22:29:41 -0800
commit0c9e21d397908201f28c5352cf05942d9954b736 (patch)
tree3841deb3d2dbd3c94f5f7405dbe164ecbe680848 /tools/perf/scripts/python
parent4b1e380bdb8224bfb42585d843700fee87377fea (diff)
staging: wilc1000: 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