Skip to content

Commit

Permalink
[media] videobuf-dma-sg: remove obsolete comments
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent ad1ecf8 commit 41d9931
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/media/video/videobuf-dma-sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 41d9931

Please sign in to comment.