aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index 33d79a5dad0f..863fcb31622f 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -788,9 +788,6 @@ static int vidioc_querybuf (struct file *file,
788 788
789 /* FIXME : must control 789 /* FIXME : must control
790 that buffers are mapped (VIDIOC_REQBUFS has been called) */ 790 that buffers are mapped (VIDIOC_REQBUFS has been called) */
791 if(vb->type != V4L2_CAP_VIDEO_CAPTURE) {
792 return -EINVAL;
793 }
794 if(vb->index>=usbvision->num_frames) { 791 if(vb->index>=usbvision->num_frames) {
795 return -EINVAL; 792 return -EINVAL;
796 } 793 }