[media] videobuf-dma-sg: remove obsolete comments
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 25 Dec 2010 10:04:16 +0000 (07:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:07 +0000 (08:17 -0200)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-dma-sg.c

index 9d520601c70fcc383f288c9976cbf0a57c858315..ddb8f4b46c03bacea044ec9395adefdcee69350d 100644 (file)
@@ -543,14 +543,6 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q,
 
        retval = -EINVAL;
 
-       /* This function maintains backwards compatibility with V4L1 and will
-        * map more than one buffer if the vma length is equal to the combined
-        * size of multiple buffers than it will map them together.  See
-        * VIDIOCGMBUF in the v4l spec
-        *
-        * TODO: Allow drivers to specify if they support this mode
-        */
-
        BUG_ON(!mem);
        MAGIC_CHECK(mem->magic, MAGIC_SG_MEM);