summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/videobuf-dma-sg.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/videobuf-dma-sg.c')
-rw-r--r--linux/drivers/media/video/videobuf-dma-sg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/videobuf-dma-sg.c b/linux/drivers/media/video/videobuf-dma-sg.c
index 7d459ed6b..22c3c93b2 100644
--- a/linux/drivers/media/video/videobuf-dma-sg.c
+++ b/linux/drivers/media/video/videobuf-dma-sg.c
@@ -409,11 +409,7 @@ videobuf_vm_nopage(struct vm_area_struct *vma, unsigned long vaddr,
page = alloc_page(GFP_USER | __GFP_DMA32);
if (!page)
return NOPAGE_OOM;
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,20)
- clear_user_page(page_address(page), vaddr);
-#else
clear_user_page(page_address(page), vaddr, page);
-#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,1)
if (type)
*type = VM_FAULT_MINOR;