From 007d0d0ba0215cb8458d07da941c4bb2f4842cb1 Mon Sep 17 00:00:00 2001 From: Douglas Schilling Landgraf Date: Wed, 27 Feb 2008 01:56:23 -0300 Subject: videobuf-dma-sg: Remove unused variable From: Douglas Schilling Landgraf 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 --- linux/drivers/media/video/videobuf-dma-sg.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'linux/drivers/media/video') diff --git a/linux/drivers/media/video/videobuf-dma-sg.c b/linux/drivers/media/video/videobuf-dma-sg.c index 60cc1f675..eeab4a570 100644 --- a/linux/drivers/media/video/videobuf-dma-sg.c +++ b/linux/drivers/media/video/videobuf-dma-sg.c @@ -278,8 +278,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; -- cgit v1.2.3