mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
staging: luster: do not combine value 0 with |
There is no point in combining a variable
that is 0 with other things with |
The semantic patch used:
@@
expression x,e,e1;
statement S;
@@
if (x == 0) {
<... when != x = e1
when != while(...) S
when != for(...;...;...) S
- x |= e
+ x = e
...>
}
Signed-off-by: Georgiana Rodica Chelu <georgiana.chelu93@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6db685c35e
commit
34d1f637cb
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ restart:
|
|||
goto restart;
|
||||
}
|
||||
|
||||
result |= VM_FAULT_LOCKED;
|
||||
result = VM_FAULT_LOCKED;
|
||||
}
|
||||
cfs_restore_sigs(set);
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue