OSDN Git Service

staging: ks7010: move comparison to right hand side
authorTobin C. Harding <me@tobin.cc>
Mon, 13 Mar 2017 22:54:05 +0000 (09:54 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Mar 2017 00:08:15 +0000 (08:08 +0800)
commit7676b72428e84f344bd64fecc1d4c840e57a68d8
tree40d65e2c4f0fd44eb6873538366a02eb92b288a7
parente00b9bb34e2784f41bdfc7083c7d37ca1b97aca3
staging: ks7010: move comparison to right hand side

Checkpatch emits WARNING: Comparisons should place the constant on the
right side of the test.

Move constant to right hand side of test, modify operator to ensure
logic is maintained.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c