diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-07-10 05:08:20 +0300 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2017-07-19 04:49:11 +0300 |
commit | 734c58aefcc48f888e74fd082a0a2eca167e8816 (patch) | |
tree | 35e547c6759ea7dbb6b3f2453875bf52115b06c3 /drivers/usb/chipidea/ci_hdrc_zevio.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | linux-734c58aefcc48f888e74fd082a0a2eca167e8816.tar.xz |
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 'drivers/usb/chipidea/ci_hdrc_zevio.c')
0 files changed, 0 insertions, 0 deletions