aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf-dma-sg.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-04-22 13:45:33 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:46 -0400
commit1c3bf598cf794558694c8beb0c8c7056a81dbe04 (patch)
tree2a06f27491f9944f395ef94936a8e11e71a2c45a /drivers/media/video/videobuf-dma-sg.c
parente43d76b40d3fda146b9cd1192c5504a257603b70 (diff)
V4L/DVB (7283): videobuf-dma-sg: Remove unused variable
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>
Diffstat (limited to 'drivers/media/video/videobuf-dma-sg.c')
-rw-r--r--drivers/media/video/videobuf-dma-sg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/videobuf-dma-sg.c b/drivers/media/video/videobuf-dma-sg.c
index 6141a13bfc97..717783fa8b3e 100644
--- a/drivers/media/video/videobuf-dma-sg.c
+++ b/drivers/media/video/videobuf-dma-sg.c
@@ -273,8 +273,6 @@ int videobuf_dma_sync(struct videobuf_queue *q, struct videobuf_dmabuf *dma)
273 273
274int videobuf_dma_unmap(struct videobuf_queue* q,struct videobuf_dmabuf *dma) 274int videobuf_dma_unmap(struct videobuf_queue* q,struct videobuf_dmabuf *dma)
275{ 275{
276 void *dev=q->dev;
277
278 MAGIC_CHECK(dma->magic, MAGIC_DMABUF); 276 MAGIC_CHECK(dma->magic, MAGIC_DMABUF);
279 if (!dma->sglen) 277 if (!dma->sglen)
280 return 0; 278 return 0;