diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-13 13:59:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:08:48 -0400 |
commit | a9dbbeb7d615761a82fcd4f00ec290a07be7d8a2 (patch) | |
tree | f5c79b5ecda9906babd601e954891e2e8384574a /drivers/media/video/videobuf-dma-sg.c | |
parent | aaea56afc31345e7b0456ebb01586ba627ecd0f8 (diff) |
V4L/DVB (7554): videobuf-dma-sg: Remove unused flag
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videobuf-dma-sg.c')
-rw-r--r-- | drivers/media/video/videobuf-dma-sg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c index 440c1a8e9c1f..c0b7902862e4 100644 --- a/drivers/media/video/videobuf-dma-sg.c +++ b/drivers/media/video/videobuf-dma-sg.c | |||
@@ -162,9 +162,6 @@ static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma, | |||
162 | dprintk(1,"init user [0x%lx+0x%lx => %d pages]\n", | 162 | dprintk(1,"init user [0x%lx+0x%lx => %d pages]\n", |
163 | data,size,dma->nr_pages); | 163 | data,size,dma->nr_pages); |
164 | 164 | ||
165 | dma->varea = (void *) data; | ||
166 | |||
167 | |||
168 | err = get_user_pages(current,current->mm, | 165 | err = get_user_pages(current,current->mm, |
169 | data & PAGE_MASK, dma->nr_pages, | 166 | data & PAGE_MASK, dma->nr_pages, |
170 | rw == READ, 1, /* force */ | 167 | rw == READ, 1, /* force */ |
@@ -300,7 +297,6 @@ int videobuf_dma_free(struct videobuf_dmabuf *dma) | |||
300 | 297 | ||
301 | vfree(dma->vmalloc); | 298 | vfree(dma->vmalloc); |
302 | dma->vmalloc = NULL; | 299 | dma->vmalloc = NULL; |
303 | dma->varea = NULL; | ||
304 | 300 | ||
305 | if (dma->bus_addr) { | 301 | if (dma->bus_addr) { |
306 | dma->bus_addr = 0; | 302 | dma->bus_addr = 0; |