aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--include/media/videobuf-core.h2
4 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/videobuf-dma-contig.c b/drivers/media/video/videobuf-dma-contig.c
index 98e292c35185..372b87efcd05 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 8924e51408c1..2d64040594b8 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 cf5be6bfd745..f0d7cb8d4c72 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;
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h
index a157cd166e6e..f2c41cebf453 100644
--- a/include/media/videobuf-core.h
+++ b/include/media/videobuf-core.h
@@ -54,8 +54,6 @@ struct videobuf_queue;
54 54
55struct videobuf_mapping { 55struct videobuf_mapping {
56 unsigned int count; 56 unsigned int count;
57 unsigned long start;
58 unsigned long end;
59 struct videobuf_queue *q; 57 struct videobuf_queue *q;
60}; 58};
61 59