aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf2-dma-sg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/videobuf2-dma-sg.c')
-rw-r--r--drivers/media/video/videobuf2-dma-sg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/videobuf2-dma-sg.c b/drivers/media/video/videobuf2-dma-sg.c
index 065f468faf8..3bad8b105fe 100644
--- a/drivers/media/video/videobuf2-dma-sg.c
+++ b/drivers/media/video/videobuf2-dma-sg.c
@@ -75,12 +75,6 @@ static void *vb2_dma_sg_alloc(void *alloc_ctx, unsigned long size)
75 75
76 printk(KERN_DEBUG "%s: Allocated buffer of %d pages\n", 76 printk(KERN_DEBUG "%s: Allocated buffer of %d pages\n",
77 __func__, buf->sg_desc.num_pages); 77 __func__, buf->sg_desc.num_pages);
78
79 if (!buf->vaddr)
80 buf->vaddr = vm_map_ram(buf->pages,
81 buf->sg_desc.num_pages,
82 -1,
83 PAGE_KERNEL);
84 return buf; 78 return buf;
85 79
86fail_pages_alloc: 80fail_pages_alloc: