diff options
author | Kris Borer <kborer@gmail.com> | 2015-08-11 18:12:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-15 02:54:02 +0300 |
commit | 088a3daeadf6f4123f54d5208b0ec7cbbfc8853f (patch) | |
tree | 63d485291e4fb6c357e075dd0efc541971161fd8 /include/linux/time.h | |
parent | e3ec4fda072c72c8ed014b58a3a4dd54b2b454bd (diff) | |
download | linux-088a3daeadf6f4123f54d5208b0ec7cbbfc8853f.tar.xz |
usb: hub: remove assignment from if condition
Fix one occurrence 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, E2, E3;
statement S1, S2;
binary operator b;
@@
+ i = E;
if (
- (i = E)
+ i
b
... && E2 && E3 ) S1 else S2
// </smpl>
Signed-off-by: Kris Borer <kborer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/time.h')
0 files changed, 0 insertions, 0 deletions