diff options
| author | Jan Kara <jack@suse.cz> | 2015-07-13 10:55:50 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-08-16 12:15:21 -0400 |
| commit | 6690c8c78c745239bb1f22b23f3889a0a14c249b (patch) | |
| tree | 88415507e09fedae82f837ad77f93eabc33f89b0 /include | |
| parent | fb639eb39154312af8bf08c58cc0142179e0c224 (diff) | |
[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')
| -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 { | |||
| 31 | 31 | ||
| 32 | extern const struct vm_operations_struct vb2_common_vm_ops; | 32 | extern const struct vm_operations_struct vb2_common_vm_ops; |
| 33 | 33 | ||
| 34 | int vb2_get_contig_userptr(unsigned long vaddr, unsigned long size, | ||
| 35 | struct vm_area_struct **res_vma, dma_addr_t *res_pa); | ||
| 36 | |||
| 37 | struct vm_area_struct *vb2_get_vma(struct vm_area_struct *vma); | ||
| 38 | void vb2_put_vma(struct vm_area_struct *vma); | ||
| 39 | |||
| 40 | struct frame_vector *vb2_create_framevec(unsigned long start, | 34 | struct frame_vector *vb2_create_framevec(unsigned long start, |
| 41 | unsigned long length, | 35 | unsigned long length, |
| 42 | bool write); | 36 | bool write); |
