staging: wilc1000: replace 'ptr > 0' check by 'ptr' check.
authorMario J. Rugiero <mrugiero@gmail.com>
Thu, 3 Dec 2015 16:24:05 +0000 (13:24 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Dec 2015 22:49:10 +0000 (14:49 -0800)
commit7cf8e59e54b322a1663a3e2beaab8324240e1801
tree968a02ddbaf3ec27481632a4c4e099f40f1e0bda
parent6b05fcc9c6ec08f4bd53e585afe4ec2f2f5b4ffb
staging: wilc1000: replace 'ptr > 0' check by 'ptr' check.

This silences a sparse warning about incompatible comparisons, while making the
intent of the check a bit clearer.

Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c