diff options
Diffstat (limited to 'drivers/media/video/meye.c')
-rw-r--r-- | drivers/media/video/meye.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/meye.c b/drivers/media/video/meye.c index b76e33d5c867..163fb2b329df 100644 --- a/drivers/media/video/meye.c +++ b/drivers/media/video/meye.c | |||
@@ -1446,10 +1446,6 @@ static int vidioc_querybuf(struct file *file, void *fh, struct v4l2_buffer *buf) | |||
1446 | if (index < 0 || index >= gbuffers) | 1446 | if (index < 0 || index >= gbuffers) |
1447 | return -EINVAL; | 1447 | return -EINVAL; |
1448 | 1448 | ||
1449 | memset(buf, 0, sizeof(*buf)); | ||
1450 | |||
1451 | buf->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; | ||
1452 | buf->index = index; | ||
1453 | buf->bytesused = meye.grab_buffer[index].size; | 1449 | buf->bytesused = meye.grab_buffer[index].size; |
1454 | buf->flags = V4L2_BUF_FLAG_MAPPED; | 1450 | buf->flags = V4L2_BUF_FLAG_MAPPED; |
1455 | 1451 | ||