V4L/DVB: v4l videobuf: remove unused mmap callback
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 28 Mar 2010 10:34:18 +0000 (07:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:50 +0000 (12:57 -0300)
The mmap callback in struct videobuf_qtype_ops is never used.
Remove.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/videobuf-core.h

index b1f7bf423fd310a74abeb3af6eeac434d5bb79d7..3896e29a652d6a890b3f462f0b60a52950f618b4 100644 (file)
@@ -132,10 +132,6 @@ struct videobuf_qtype_ops {
        int (*iolock)           (struct videobuf_queue *q,
                                 struct videobuf_buffer *vb,
                                 struct v4l2_framebuffer *fbuf);
-       int (*mmap)             (struct videobuf_queue *q,
-                                unsigned int *count,
-                                unsigned int *size,
-                                enum v4l2_memory memory);
        int (*sync)             (struct videobuf_queue *q,
                                 struct videobuf_buffer *buf);
        int (*video_copy_to_user)(struct videobuf_queue *q,