diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/videobuf-dma-sg.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c index 9d520601c70f..ddb8f4b46c03 100644 --- a/drivers/media/video/videobuf-dma-sg.c +++ b/drivers/media/video/videobuf-dma-sg.c | |||
@@ -543,14 +543,6 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q, | |||
543 | 543 | ||
544 | retval = -EINVAL; | 544 | retval = -EINVAL; |
545 | 545 | ||
546 | /* This function maintains backwards compatibility with V4L1 and will | ||
547 | * map more than one buffer if the vma length is equal to the combined | ||
548 | * size of multiple buffers than it will map them together. See | ||
549 | * VIDIOCGMBUF in the v4l spec | ||
550 | * | ||
551 | * TODO: Allow drivers to specify if they support this mode | ||
552 | */ | ||
553 | |||
554 | BUG_ON(!mem); | 546 | BUG_ON(!mem); |
555 | MAGIC_CHECK(mem->magic, MAGIC_SG_MEM); | 547 | MAGIC_CHECK(mem->magic, MAGIC_SG_MEM); |
556 | 548 | ||