diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-05-02 15:38:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:58 -0400 |
commit | 223ffe5f8270ba9d069f1cbff9acec095a6f58b1 (patch) | |
tree | c9b7f1288f2b16c9b4466f5a643ec34ac71fbb15 /drivers/media/video/usbvision/usbvision-video.c | |
parent | ca19d84295c2579229c5478db8b0f9cd7e821685 (diff) |
V4L/DVB: cleanup redundant tests on unsigned
Remove redundant tests on unsigned.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c index d7056a5b7f9b..d03e5922d3b8 100644 --- a/drivers/media/video/usbvision/usbvision-video.c +++ b/drivers/media/video/usbvision/usbvision-video.c | |||
@@ -541,7 +541,7 @@ static int vidioc_enum_input (struct file *file, void *priv, | |||
541 | struct usb_usbvision *usbvision = video_drvdata(file); | 541 | struct usb_usbvision *usbvision = video_drvdata(file); |
542 | int chan; | 542 | int chan; |
543 | 543 | ||
544 | if ((vi->index >= usbvision->video_inputs) || (vi->index < 0) ) | 544 | if (vi->index >= usbvision->video_inputs) |
545 | return -EINVAL; | 545 | return -EINVAL; |
546 | if (usbvision->have_tuner) { | 546 | if (usbvision->have_tuner) { |
547 | chan = vi->index; | 547 | chan = vi->index; |