staging: ks7010: remove zero comparison
authorTobin C. Harding <me@tobin.cc>
Tue, 21 Mar 2017 02:37:11 +0000 (13:37 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:56:07 +0000 (08:56 +0100)
commit1e765f318824b2f182dedb5e74e05b9f132e07ca
treeb33b4a08c6948c404ed7cadcc5e7593b607ad83f
parentc133b9bd8ff18323f57859c5add3be9e872224c3
staging: ks7010: remove zero comparison

Comparison, equal to zero, is redundant

'if (foo == 0)'  is equal to  'if (!foo)'

Typical kernel coding style is to use the shorter form.

Remove unnecessary zero comparison.

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