diff options
author | Kris Borer <kborer@gmail.com> | 2015-08-04 15:39:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-05 22:29:19 +0300 |
commit | 135551ea1abd5038d14825514df7e259fd500033 (patch) | |
tree | 2a50a2df0f93bba85bff64b77882c88e56f88957 /drivers/usb/phy/phy-mxs-usb.c | |
parent | b4629a7bdfd8fcafc90ded7e6a1f88099105842d (diff) | |
download | linux-135551ea1abd5038d14825514df7e259fd500033.tar.xz |
usb: devio: remove assignment from if condition
Fix five occurrences of the checkpatch.pl error:
ERROR: do not use assignment in if condition
The semantic patch that makes this change is:
// <smpl>
@@
identifier i;
expression E;
statement S1, S2;
@@
+ i = E;
if (
- (i = E)
+ i
) S1 else S2
@@
identifier i;
expression E;
statement S;
constant c;
binary operator b;
@@
+ i = E;
if (
- (i = E)
+ i
b
c ) S
// </smpl>
Signed-off-by: Kris Borer <kborer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/phy/phy-mxs-usb.c')
0 files changed, 0 insertions, 0 deletions