V4L/DVB (13241): Cleanup redundant tests on unsigned
commitf14a2972e40dbfbe7077ec7ab21cc2729f7e7d6d
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 23 Oct 2009 10:59:42 +0000 (23 07:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:04 +0000 (5 18:41 -0200)
treea90af6ec74660e5a811d40e7af45578c1b1e104f
parent311c70e1f906b7411b30f526ef15deb62cb37e7a
V4L/DVB (13241): Cleanup redundant tests on unsigned

The variables are unsigned so the test `>= 0' is always true,
the `< 0' test always fails. In these cases the other part of
the test catches wrapped values.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 files changed:
drivers/media/common/tuners/tda9887.c
drivers/media/dvb/siano/smscoreapi.c
drivers/media/video/bt819.c
drivers/media/video/hexium_gemini.c
drivers/media/video/hexium_orion.c
drivers/media/video/mxb.c
drivers/media/video/s2255drv.c
drivers/media/video/saa7110.c
drivers/media/video/saa717x.c
drivers/media/video/tuner-core.c
drivers/media/video/usbvision/usbvision-video.c
drivers/media/video/vpx3220.c
drivers/media/video/zoran/zoran_driver.c