summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Heitmueller2009-09-11 05:53:44 +0200
committerMauro Carvalho Chehab2009-09-19 04:47:49 +0200
commit891114a413f2ff8722ef4397bb6a902aab006414 (patch)
tree7534587ac2b1ab9246eac5178a28ce9506025a72
parentV4L/DVB (12749): em28xx: remove unneeded code that set VINCTRL register (diff)
downloadkernel-qcow2-linux-891114a413f2ff8722ef4397bb6a902aab006414.tar.gz
kernel-qcow2-linux-891114a413f2ff8722ef4397bb6a902aab006414.tar.xz
kernel-qcow2-linux-891114a413f2ff8722ef4397bb6a902aab006414.zip
V4L/DVB (12750): em28xx: fix unused variable warning
Remove unused variable from when I introduced the g_std() function. This work was sponsored by EyeMagnet Limited. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 8a06210e05d5..2466c0faf3c7 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -1144,7 +1144,6 @@ static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *norm)
{
struct em28xx_fh *fh = priv;
struct em28xx *dev = fh->dev;
- struct v4l2_format f;
int rc;
rc = check_dev(dev);