diff options
author | Jan Kara <jack@suse.cz> | 2015-07-13 16:55:50 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-16 18:15:21 +0200 |
commit | 6690c8c78c745239bb1f22b23f3889a0a14c249b (patch) | |
tree | 88415507e09fedae82f837ad77f93eabc33f89b0 /include/media/videobuf2-memops.h | |
parent | [media] media: vb2: Convert vb2_dc_get_userptr() to use frame vector (diff) | |
download | linux-6690c8c78c745239bb1f22b23f3889a0a14c249b.tar.xz linux-6690c8c78c745239bb1f22b23f3889a0a14c249b.zip |
[media] media: vb2: Remove unused functions
Conversion to the use of pinned pfns made some functions unused. Remove
them. Also there's no need to lock mmap_sem in __buf_prepare() anymore.
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/videobuf2-memops.h')
-rw-r--r-- | include/media/videobuf2-memops.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/media/videobuf2-memops.h b/include/media/videobuf2-memops.h index 2f0564ff5f31..830b5239fd8b 100644 --- a/include/media/videobuf2-memops.h +++ b/include/media/videobuf2-memops.h @@ -31,12 +31,6 @@ struct vb2_vmarea_handler { extern const struct vm_operations_struct vb2_common_vm_ops; -int vb2_get_contig_userptr(unsigned long vaddr, unsigned long size, - struct vm_area_struct **res_vma, dma_addr_t *res_pa); - -struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma); -void vb2_put_vma(struct vm_area_struct *vma); - struct frame_vector *vb2_create_framevec(unsigned long start, unsigned long length, bool write); |