diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-09-27 21:00:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-09-27 21:00:50 -0300 |
commit | c5b6bc0a17723e648b46cb624954573e91591095 (patch) | |
tree | 2c279ce5ab0be383388ad4bbab1a1d2ef0f908d2 /linux | |
parent | b208f9186e3ac70ed274a7c93b27679d4a0aef4e (diff) | |
download | mediapointer-dvb-s2-c5b6bc0a17723e648b46cb624954573e91591095.tar.gz mediapointer-dvb-s2-c5b6bc0a17723e648b46cb624954573e91591095.tar.bz2 |
vivi cleanup: remove the unused vars
Last patch series made vivi driver simpler. This patch removes the now
unused vars.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/vivi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/drivers/media/video/vivi.c b/linux/drivers/media/video/vivi.c index d8779be84..33780ea23 100644 --- a/linux/drivers/media/video/vivi.c +++ b/linux/drivers/media/video/vivi.c @@ -963,7 +963,6 @@ static int vidiocgmbuf (struct file *file, void *priv, struct video_mbuf *mbuf) static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i) { struct vivi_fh *fh=priv; - struct vivi_dev *dev = fh->dev; if (fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) return -EINVAL; @@ -976,7 +975,6 @@ static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i) static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i) { struct vivi_fh *fh=priv; - struct vivi_dev *dev = fh->dev; if (fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) return -EINVAL; @@ -1154,8 +1152,6 @@ static ssize_t vivi_read(struct file *file, char __user *data, size_t count, loff_t *ppos) { struct vivi_fh *fh = file->private_data; - struct vivi_dev *dev = fh->dev; - struct videobuf_queue *q = &fh->vb_vidq; if (fh->type==V4L2_BUF_TYPE_VIDEO_CAPTURE) { return videobuf_read_stream(&fh->vb_vidq, data, count, ppos, 0, @@ -1168,7 +1164,6 @@ static unsigned int vivi_poll(struct file *file, struct poll_table_struct *wait) { struct vivi_fh *fh = file->private_data; - struct vivi_buffer *buf; struct videobuf_queue *q = &fh->vb_vidq; dprintk(1,"%s\n",__FUNCTION__); |