Skip to content

Commit

Permalink
V4L/DVB: v4l videobuf: remove unused mmap callback
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent c590402 commit 3343516
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/media/videobuf-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3343516

Please sign in to comment.