[media] vb2: Fix comment in __qbuf_dmabuf
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 1 Jan 2014 12:10:48 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 7 Jan 2014 11:46:29 +0000 (09:46 -0200)
The comment incorrectly explains that the code verifies information
provided by userspace, while verification has been performed earlier in
reality. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/videobuf2-core.c

index 098df28b021a833e7cebb1b25aefa3f1ae50266f..5a5fb7f09b7bd1857bc7e660c24d7e1b95117dc6 100644 (file)
@@ -1138,7 +1138,7 @@ static int __qbuf_dmabuf(struct vb2_buffer *vb, const struct v4l2_buffer *b)
        int ret;
        int write = !V4L2_TYPE_IS_OUTPUT(q->type);
 
-       /* Verify and copy relevant information provided by the userspace */
+       /* Copy relevant information provided by the userspace */
        __fill_vb2_buffer(vb, b, planes);
 
        for (plane = 0; plane < vb->num_planes; ++plane) {