commit | fe3cda6d39bba3368ed9823f78bbd145e3a1416e | [log] [tgz] |
---|---|---|
author | Ian Abbott <abbotti@mev.co.uk> | Thu Jul 31 14:47:45 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Aug 16 12:23:08 2014 -0700 |
tree | cafacd694e8c21d7916a4409fec0e72531261969 | |
parent | bf6002d898630cc3042f5f727f2ebf0ec4ebabb0 [diff] |
staging: comedi: amplc_pci224: omit '!= 0' from logical expressions Since anything non-zero is logically "true", don't bother doing "not-equal" comparisons with zero, except when testing for an explicit number 0 (not as a result of bit tests for example). 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>