aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/videobuf-vmalloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c
index 4a2508dfa0e3..e23335f2919d 100644
--- a/drivers/media/video/videobuf-vmalloc.c
+++ b/drivers/media/video/videobuf-vmalloc.c
@@ -78,8 +78,6 @@ videobuf_vm_close(struct vm_area_struct *vma)
78 if (q->bufs[i]->map != map) 78 if (q->bufs[i]->map != map)
79 continue; 79 continue;
80 80
81 q->ops->buf_release(q,q->bufs[i]);
82
83 q->bufs[i]->map = NULL; 81 q->bufs[i]->map = NULL;
84 q->bufs[i]->baddr = 0; 82 q->bufs[i]->baddr = 0;
85 } 83 }