Commit a9dbbeb7 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (7554): videobuf-dma-sg: Remove unused flag

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent aaea56af
...@@ -162,9 +162,6 @@ static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma, ...@@ -162,9 +162,6 @@ static int videobuf_dma_init_user_locked(struct videobuf_dmabuf *dma,
dprintk(1,"init user [0x%lx+0x%lx => %d pages]\n", dprintk(1,"init user [0x%lx+0x%lx => %d pages]\n",
data,size,dma->nr_pages); data,size,dma->nr_pages);
dma->varea = (void *) data;
err = get_user_pages(current,current->mm, err = get_user_pages(current,current->mm,
data & PAGE_MASK, dma->nr_pages, data & PAGE_MASK, dma->nr_pages,
rw == READ, 1, /* force */ rw == READ, 1, /* force */
...@@ -300,7 +297,6 @@ int videobuf_dma_free(struct videobuf_dmabuf *dma) ...@@ -300,7 +297,6 @@ int videobuf_dma_free(struct videobuf_dmabuf *dma)
vfree(dma->vmalloc); vfree(dma->vmalloc);
dma->vmalloc = NULL; dma->vmalloc = NULL;
dma->varea = NULL;
if (dma->bus_addr) { if (dma->bus_addr) {
dma->bus_addr = 0; dma->bus_addr = 0;
......
...@@ -68,9 +68,6 @@ struct videobuf_dmabuf { ...@@ -68,9 +68,6 @@ struct videobuf_dmabuf {
/* for kernel buffers */ /* for kernel buffers */
void *vmalloc; void *vmalloc;
/* Stores the userspace pointer to vmalloc area */
void *varea;
/* for overlay buffers (pci-pci dma) */ /* for overlay buffers (pci-pci dma) */
dma_addr_t bus_addr; dma_addr_t bus_addr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment