diff options
| author | Eva Rachel Retuya <[email protected]> | 2016-09-21 13:07:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-09-22 11:54:47 +0200 |
| commit | 5a420d15d15b0eb46672578baa268675c63962f7 (patch) | |
| tree | 00b984ac139998e4a54134ce567bc5e89adcae5e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4f1cbe2a7b4fa50e5ae09e0a564c9dc4101b02fd (diff) | |
staging: greybus: arche-platform: compress return logic into one line
Modify return statement to use the value being returned directly instead of
assigning it first to 'ret' and returning this variable. Coccinelle semantic
patch used:
@@
expression e;
local idexpression ret;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Eva Rachel Retuya <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions