diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-28 07:54:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:57:50 -0300 |
commit | 53aaf07637baae8f53c33b803bbc96047d8da1c4 (patch) | |
tree | e620ce3c28dae607e34a2b6bea0e4c0edc3cff4e /include/media/videobuf-core.h | |
parent | 33435167e6dc9e23a97a494cec6b8ca47f8ded75 (diff) |
V4L/DVB: v4l videobuf: remove mmap_free callback
Remove the mmap_free callback from struct videobuf_qtype_ops.
All implementations of this callback do the same trivial check: return
-EBUSY if any buffer is mmapped. That can also be tested in the
videobuf core.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/videobuf-core.h')
-rw-r--r-- | include/media/videobuf-core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h index 3896e29a652..345ec5a45c5 100644 --- a/include/media/videobuf-core.h +++ b/include/media/videobuf-core.h @@ -144,7 +144,6 @@ struct videobuf_qtype_ops { size_t pos, int vbihack, int nonblocking); - int (*mmap_free) (struct videobuf_queue *q); int (*mmap_mapper) (struct videobuf_queue *q, struct vm_area_struct *vma); }; |