diff options
| author | Bhaktipriya Shridhar <[email protected]> | 2016-02-25 01:57:54 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-25 22:29:41 -0800 |
| commit | 0c9e21d397908201f28c5352cf05942d9954b736 (patch) | |
| tree | 3841deb3d2dbd3c94f5f7405dbe164ecbe680848 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4b1e380bdb8224bfb42585d843700fee87377fea (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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions