diff options
author | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-02-27 01:56:23 -0300 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@gmail.com> | 2008-02-27 01:56:23 -0300 |
commit | 007d0d0ba0215cb8458d07da941c4bb2f4842cb1 (patch) | |
tree | 27edc80a633cf36e17d86b2f9ce0c229b9a7c81d /linux/drivers/media/video | |
parent | e62b2d9c5b8121e5b6325b2337cb60fd64bfba9c (diff) | |
download | mediapointer-dvb-s2-007d0d0ba0215cb8458d07da941c4bb2f4842cb1.tar.gz mediapointer-dvb-s2-007d0d0ba0215cb8458d07da941c4bb2f4842cb1.tar.bz2 |
videobuf-dma-sg: Remove unused variable
From: Douglas Schilling Landgraf <dougsland@gmail.com>
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>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/videobuf-dma-sg.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |