diff options
author | Alison Schofield | 2015-10-06 23:40:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-10-08 11:25:32 +0200 |
commit | 29b1b61435cd3e2890883b218a4c96c7df81f3c5 (patch) | |
tree | 3ea4ecdba1608a5dfc30cae049282ea9e48f75e7 /drivers/staging/rtl8712/hal_init.c | |
parent | staging: rtl8712: Add space around '&' (diff) | |
download | kernel-qcow2-linux-29b1b61435cd3e2890883b218a4c96c7df81f3c5.tar.gz kernel-qcow2-linux-29b1b61435cd3e2890883b218a4c96c7df81f3c5.tar.xz kernel-qcow2-linux-29b1b61435cd3e2890883b218a4c96c7df81f3c5.zip |
staging: rtl8712: Move constant to right of test or replace with "!"
Move constant to the right side of comparison operator or replace
equality operator (==) with the unary negation operator (!) if the
comparison is to zero.
Addesses multiple instances of the checkpatch.pl warning:
WARNING: Comparisons should place the constant on the right side of the
test
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/hal_init.c')
0 files changed, 0 insertions, 0 deletions