summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 12:19:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 12:19:59 -0300
commit682a54d47d1548a8a20bb80cb5377c53b77e0f78 (patch)
tree0543cd4f0a216e5719db996c1d34c7474489ee0e /linux/drivers/media/video/em28xx/em28xx-video.c
parent29a44e254bb209b88022dcc4c4eee0e301ae847f (diff)
downloadmediapointer-dvb-s2-682a54d47d1548a8a20bb80cb5377c53b77e0f78.tar.gz
mediapointer-dvb-s2-682a54d47d1548a8a20bb80cb5377c53b77e0f78.tar.bz2
em28xx: remove uneeded vars
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-video.c b/linux/drivers/media/video/em28xx/em28xx-video.c
index fff90faca..b0554ab08 100644
--- a/linux/drivers/media/video/em28xx/em28xx-video.c
+++ b/linux/drivers/media/video/em28xx/em28xx-video.c
@@ -1433,9 +1433,6 @@ static int vidioc_querycap(struct file *file, void *priv,
static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv,
struct v4l2_fmtdesc *f)
{
- struct em28xx_fh *fh = priv;
- struct em28xx *dev = fh->dev;
-
if (unlikely(f->index >= ARRAY_SIZE(format)))
return -EINVAL;