diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-07-09 21:08:20 -0500 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2017-07-19 09:49:11 +0800 |
commit | 734c58aefcc48f888e74fd082a0a2eca167e8816 (patch) | |
tree | 35e547c6759ea7dbb6b3f2453875bf52115b06c3 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) |
usb: chipidea: udc: compress return logic into line
Simplify return logic to avoid unnecessary variable assignment.
This issue was 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 <garsilva@embeddedor.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions