diff options
| author | Elizabeth Ferdman <[email protected]> | 2016-10-11 19:29:20 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-16 10:26:19 +0200 |
| commit | be704e58328d4c488677c59e04dd9cec2d9515a2 (patch) | |
| tree | 4d8930bb487d8226512c7a90ada4eaa008b5c7ef /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | efe9bc08bf479b1baacc63554042c5dd11fecd9e (diff) | |
staging: sm750fb: compress return logic
Using Coccinelle script, compress return logic to return a value
directly rather than doing an assignment and returning the variable.
Remove unnecessary variable declaration by hand.
Coccinelle script:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Elizabeth Ferdman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions