From: Hans Verkuil Date: Sun, 28 Mar 2010 10:34:18 +0000 (-0300) Subject: V4L/DVB: v4l videobuf: remove unused mmap callback X-Git-Tag: MMI-PSA29.97-13-9~23880^2~145 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=33435167e6dc9e23a97a494cec6b8ca47f8ded75;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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,