diff options
| author | Gargi Sharma <[email protected]> | 2017-02-17 22:47:21 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-02-18 18:58:08 +0000 |
| commit | fb364cea3d245fff5cb4c953c8c9a4b1efcbe4c6 (patch) | |
| tree | 94950bad1b0b6aec42fa17757054797596fe157c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | bf0adab4cd0d69eb22495f89e53f79941bb62300 (diff) | |
staging: iio: compress return logic
Simplify function returns by merging assignment and return.
Found with Coccinelle.
Semantic patch:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Gargi Sharma <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions