V4L/DVB: cleanup redundant tests on unsigned
[deliverable/linux.git] / drivers / media / video / usbvision / usbvision-video.c
index d7056a5b7f9b1bc9a463d70282cd8be47dcabc8d..d03e5922d3b8d5201d4aae9fdd7846deeb42feb9 100644 (file)
@@ -541,7 +541,7 @@ static int vidioc_enum_input (struct file *file, void *priv,
        struct usb_usbvision *usbvision = video_drvdata(file);
        int chan;
 
-       if ((vi->index >= usbvision->video_inputs) || (vi->index < 0) )
+       if (vi->index >= usbvision->video_inputs)
                return -EINVAL;
        if (usbvision->have_tuner) {
                chan = vi->index;
This page took 0.028707 seconds and 5 git commands to generate.