diff options
| author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-07-10 05:00:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 14:13:44 +0300 |
| commit | 992510f3b60d84ce098e6cfb00a70266bdfbc4c0 (patch) | |
| tree | 935e6af34bfa7c91227f8c2bee625ff0486416e8 /include | |
| parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
| download | linux-992510f3b60d84ce098e6cfb00a70266bdfbc4c0.tar.xz | |
usb: isp1760: compress return logic into one 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
