]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7283): videobuf-dma-sg: Remove unused variable
authorDouglas Schilling Landgraf <dougsland@gmail.com>
Tue, 22 Apr 2008 17:45:33 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:46 +0000 (14:07 -0300)
Removed warning message:

 - videobuf-dma-sg.c: In function 'videobuf_dma_unmap':
 - videobuf-dma-sg.c:281: warning: unused variable 'dev'

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videobuf-dma-sg.c

index 6141a13bfc97b39f758ae396a6690f3d5ff7883a..717783fa8b3e87be09e2a1b8612408c336b7d146 100644 (file)
@@ -273,8 +273,6 @@ int videobuf_dma_sync(struct videobuf_queue *q, struct videobuf_dmabuf *dma)
 
 int videobuf_dma_unmap(struct videobuf_queue* q,struct videobuf_dmabuf *dma)
 {
-       void                   *dev=q->dev;
-
        MAGIC_CHECK(dma->magic, MAGIC_DMABUF);
        if (!dma->sglen)
                return 0;