V4L/DVB (7489): videobuf-vmalloc.c: Remove buf_release from videobuf_vm_close
authorBrandon Philips <brandon@ifup.org>
Wed, 2 Apr 2008 21:10:59 +0000 (18:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:57 +0000 (14:07 -0300)
commitcbcb565f74cf01d680f83af531490bb2c5375af0
treed74912ddd6e507d7e602b43d1484e9a0377bdd27
parent009a90597e177320e47154dd0817d201f52bcd46
V4L/DVB (7489): 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videobuf-vmalloc.c