This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-dvb.git tree:

Subject: V4L/DVB: videobuf: Remove videobuf_mapping start and end fields
Author:  Laurent Pinchart <[email protected]>
Date:    Tue May 11 10:36:33 2010 -0300

The fields are assigned but never used, remove them.

Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/video/videobuf-dma-contig.c |    2 --
 drivers/media/video/videobuf-dma-sg.c     |    2 --
 drivers/media/video/videobuf-vmalloc.c    |    2 --
 include/media/videobuf-core.h             |    2 --
 4 files changed, 0 insertions(+), 8 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=a6b37511d1b534fe38ed4fa69176f4e2c0898847

diff --git a/drivers/media/video/videobuf-dma-contig.c 
b/drivers/media/video/videobuf-dma-contig.c
index 98e292c..372b87e 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,
                return -ENOMEM;
 
        buf->map = map;
-       map->start = vma->vm_start;
-       map->end = vma->vm_end;
        map->q = q;
 
        buf->baddr = vma->vm_start;
diff --git a/drivers/media/video/videobuf-dma-sg.c 
b/drivers/media/video/videobuf-dma-sg.c
index 8924e51..2d64040 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,
        }
 
        map->count    = 1;
-       map->start    = vma->vm_start;
-       map->end      = vma->vm_end;
        map->q        = q;
        vma->vm_ops   = &videobuf_vm_ops;
        vma->vm_flags |= VM_DONTEXPAND | VM_RESERVED;
diff --git a/drivers/media/video/videobuf-vmalloc.c 
b/drivers/media/video/videobuf-vmalloc.c
index cf5be6b..f0d7cb8 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,
                return -ENOMEM;
 
        buf->map = map;
-       map->start = vma->vm_start;
-       map->end   = vma->vm_end;
        map->q     = q;
 
        buf->baddr = vma->vm_start;
diff --git a/include/media/videobuf-core.h b/include/media/videobuf-core.h
index a157cd1..f2c41ce 100644
--- a/include/media/videobuf-core.h
+++ b/include/media/videobuf-core.h
@@ -54,8 +54,6 @@ struct videobuf_queue;
 
 struct videobuf_mapping {
        unsigned int count;
-       unsigned long start;
-       unsigned long end;
        struct videobuf_queue *q;
 };
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to