diff options
author | Brandon Philips <brandon@ifup.org> | 2008-04-02 11:10:59 -0700 |
---|---|---|
committer | Brandon Philips <brandon@ifup.org> | 2008-04-02 11:10:59 -0700 |
commit | e2c76fa02753f7c3ed102dbca09fdf17926e6085 (patch) | |
tree | 8a0b3d4633afb28264e18cadda7e7998e0558d6f /linux/drivers/media | |
parent | 0d730d2dbca7a10dd804a067cb380305e16c5a14 (diff) | |
download | mediapointer-dvb-s2-e2c76fa02753f7c3ed102dbca09fdf17926e6085.tar.gz mediapointer-dvb-s2-e2c76fa02753f7c3ed102dbca09fdf17926e6085.tar.bz2 |
videobuf-vmalloc.c: Remove buf_release from videobuf_vm_close
Remove the buf_release on vm_close because it will lead to a buffer being
released multiple times since all buffers are already freed under the two
possible cases: device close or STREAMOFF.
Signed-off-by: Brandon Philips <bphilips@suse.de>
---
linux/drivers/media/video/videobuf-vmalloc.c | 2 --
1 file changed, 2 deletions(-)
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/videobuf-vmalloc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/videobuf-vmalloc.c b/linux/drivers/media/video/videobuf-vmalloc.c index a63bcdf7b..3ce1c92fc 100644 --- a/linux/drivers/media/video/videobuf-vmalloc.c +++ b/linux/drivers/media/video/videobuf-vmalloc.c @@ -79,8 +79,6 @@ videobuf_vm_close(struct vm_area_struct *vma) if (q->bufs[i]->map != map) continue; - q->ops->buf_release(q,q->bufs[i]); - q->bufs[i]->map = NULL; q->bufs[i]->baddr = 0; } |