staging: comedi: adl_pci9118: if test should use logical AND not bitwise AND
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 8 Jun 2012 00:31:19 +0000 (17:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Jun 2012 23:58:57 +0000 (16:58 -0700)
commit0bdf8ec0a57e5c4f90f4d6e83938f24653360d84
treee8428b7371396eb39e24ef1360e49dbfbba51875
parent47db6d58099437ddcec4fd2e572c95eba8c37cdd
staging: comedi: adl_pci9118: if test should use logical AND not bitwise AND

This quiets a couple sparse warnings about:

warning: dubious: !x & y

Also, remove the unnecessary parentheses around the variables.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c
This page took 0.040944 seconds and 5 git commands to generate.