V4L/DVB: cx23885: i2c_wait_done returns 0 or 1, don't check for < 0 return value
authorJean Delvare <khali@linux-fr.org>
Sun, 18 Jul 2010 20:05:17 +0000 (17:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:42:54 +0000 (23:42 -0300)
commit18a87becf85d50e7f3d547f1b7a75108b151374d
tree77fdcc6152e3e749d54a1a000eedaa70af60c567
parent44835f197bf1e3f57464f23dfb239fef06cf89be
V4L/DVB: cx23885: i2c_wait_done returns 0 or 1, don't check for < 0 return value

Function i2c_wait_done() never returns negative values, so there is no
point in checking for them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx23885/cx23885-i2c.c