V4L/DVB (6266): videobuf cleanup: mmap check is common to all videobuf. Make it at core

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
This commit is contained in:
Mauro Carvalho Chehab
2007-09-27 18:25:44 -03:00
parent cd4765efdd
commit 851c0c96b2
6 changed files with 20 additions and 52 deletions

View File

@@ -21,9 +21,6 @@ struct videbuf_vmalloc_memory
{
u32 magic;
/* for mmap'ed buffers */
struct videobuf_mapping *map;
void *vmalloc;
/* remap_vmalloc_range seems to need to run after mmap() on some cases */