caif: fix a couple range checks
authorDan Carpenter <error27@gmail.com>
Mon, 7 Jun 2010 04:51:58 +0000 (04:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jun 2010 23:18:53 +0000 (16:18 -0700)
commitaea34e7ae7a40bc72f9f11b5658160dfb4b90c48
tree12bba1eacc4d0359c4d0b394368c2f439bcb1042
parente13647c158307f0e7ff5fc5bec34731f28917595
caif: fix a couple range checks

The extra ! character means that these conditions are always false.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfrfml.c
net/caif/cfveil.c