staging: ks7010: add explicit check to 'size' variables
authorTobin C. Harding <me@tobin.cc>
Wed, 22 Mar 2017 00:59:54 +0000 (11:59 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:27:23 +0000 (14:27 +0100)
commit310e916f54579b2d9a33fd6501cc46acc2d4dc70
treeabda6da13d9419896007ebaa39f27de83bc53f86
parentb5ca039ac17594e870a12c68ca8847700aa300dd
staging: ks7010: add explicit check to 'size' variables

When checking the value of a variable that holds a 0 an explicit check
is good style. i.e

  -    if (!size)
  +    if (size == 0)

Update checks on 'numerical' variables to use explicit checks.

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