staging: comedi: amplc_pci230: omit '!= 0' from logical expressions
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 Jul 2014 11:58:20 +0000 (12:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:54:03 +0000 (16:54 -0700)
commita190d26a0d1eee141de3bf690eb3e4ab05203efd
treef33af7b131ae36a54ee98cd5509ca4ad65e45d52
parent76cb39e014da351eebfdfa77dc69e4978ebcb6b2
staging: comedi: amplc_pci230: omit '!= 0' from logical expressions

Since anything non-zero is logically "true", don't bother doing
"not-equal" comparisons with zero.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pci230.c