diff options
| author | Mihaela Muraru <[email protected]> | 2016-10-14 00:00:51 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-16 10:27:34 +0200 |
| commit | 3b438f2ca9bbf43718b6155bdd9d4841eebb63ab (patch) | |
| tree | 581c4cec0497947d9925eb5eb0b97185c4ffdb1e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1cbe7adb9c6d10830494e81f2867858da2fd4c53 (diff) | |
Staging: wilc1000: Compress return logic into one line
Simplify function returns by merging assignment and return into
one command line.
Delete unnecesarry return variable.
Found with Coccinelle
@@
expression e, ret;
@@
-ret =
+return
e;
-return ret
Signed-off-by: Mihaela Muraru <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions