diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-07-09 22:31:31 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-17 13:13:44 +0200 |
| commit | e6f9e13b62bad739a9fc095e061dc9fc8cf4168c (patch) | |
| tree | f82bf317da783faac16c1645d556b6aa4275dec8 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 992510f3b60d84ce098e6cfb00a70266bdfbc4c0 (diff) | |
usb: misc: sisusbvga: compress return logic into one line
Simplify return logic to avoid unnecessary variable declaration
and assignment.
These issues were detected using Coccinelle and the following
semantic patch:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions