Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92641
b: refs/heads/master
c: a9dbbeb
h: refs/heads/master
i:
  92639: f87ba2d
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 853dc4b commit 35f623b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aaea56afc31345e7b0456ebb01586ba627ecd0f8
refs/heads/master: a9dbbeb7d615761a82fcd4f00ec290a07be7d8a2
4 changes: 0 additions & 4 deletions trunk/drivers/media/video/videobuf-dma-sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
data,size,dma->nr_pages);

dma->varea = (void *) data;


err = get_user_pages(current,current->mm,
data & PAGE_MASK, dma->nr_pages,
rw == READ, 1, /* force */
Expand Down Expand Up @@ -300,7 +297,6 @@ int videobuf_dma_free(struct videobuf_dmabuf *dma)

vfree(dma->vmalloc);
dma->vmalloc = NULL;
dma->varea = NULL;

if (dma->bus_addr) {
dma->bus_addr = 0;
Expand Down
3 changes: 0 additions & 3 deletions trunk/include/media/videobuf-dma-sg.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ struct videobuf_dmabuf {
/* for kernel buffers */
void *vmalloc;

/* Stores the userspace pointer to vmalloc area */
void *varea;

/* for overlay buffers (pci-pci dma) */
dma_addr_t bus_addr;

Expand Down

0 comments on commit 35f623b

Please sign in to comment.