aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-05-11 09:36:33 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:23:09 -0400
commit959794ddc05ab6fbcd458bc093e7f0b92633d052 (patch)
treea30dbe7ae745bbf487fade10b940e9f191cc598e /drivers/media/video
parent7181772d8915e6025ee4f2f6c5b16064689646f0 (diff)
V4L/DVB: videobuf: Remove videobuf_mapping start and end fields
The fields are assigned but never used, remove them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/videobuf-dma-contig.c2
-rw-r--r--drivers/media/video/videobuf-dma-sg.c2
-rw-r--r--drivers/media/video/videobuf-vmalloc.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/videobuf-dma-contig.c b/drivers/media/video/videobuf-dma-contig.c
index 98e292c3518..372b87efcd0 100644
--- a/drivers/media/video/videobuf-dma-contig.c
+++ b/drivers/media/video/videobuf-dma-contig.c
@@ -280,8 +280,6 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q,
280 return -ENOMEM; 280 return -ENOMEM;
281 281
282 buf->map = map; 282 buf->map = map;
283 map->start = vma->vm_start;
284 map->end = vma->vm_end;
285 map->q = q; 283 map->q = q;
286 284
287 buf->baddr = vma->vm_start; 285 buf->baddr = vma->vm_start;
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c
index 8924e51408c..2d64040594b 100644
--- a/drivers/media/video/videobuf-dma-sg.c
+++ b/drivers/media/video/videobuf-dma-sg.c
@@ -608,8 +608,6 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q,
608 } 608 }
609 609
610 map->count = 1; 610 map->count = 1;
611 map->start = vma->vm_start;
612 map->end = vma->vm_end;
613 map->q = q; 611 map->q = q;
614 vma->vm_ops = &videobuf_vm_ops; 612 vma->vm_ops = &videobuf_vm_ops;
615 vma->vm_flags |= VM_DONTEXPAND | VM_RESERVED; 613 vma->vm_flags |= VM_DONTEXPAND | VM_RESERVED;
diff --git a/drivers/media/video/videobuf-vmalloc.c b/drivers/media/video/videobuf-vmalloc.c
index cf5be6bfd74..f0d7cb8d4c7 100644
--- a/drivers/media/video/videobuf-vmalloc.c
+++ b/drivers/media/video/videobuf-vmalloc.c
@@ -245,8 +245,6 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q,
245 return -ENOMEM; 245 return -ENOMEM;
246 246
247 buf->map = map; 247 buf->map = map;
248 map->start = vma->vm_start;
249 map->end = vma->vm_end;
250 map->q = q; 248 map->q = q;
251 249
252 buf->baddr = vma->vm_start; 250 buf->baddr = vma->vm_start;