From 33435167e6dc9e23a97a494cec6b8ca47f8ded75 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sun, 28 Mar 2010 07:34:18 -0300 Subject: [PATCH] V4L/DVB: v4l videobuf: remove unused mmap callback The mmap callback in struct videobuf_qtype_ops is never used. Remove. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- include/media/videobuf-core.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index b1f7bf423fd3..3896e29a652d 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h @@ -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, -- 2.30.2