summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-09-30 08:41:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 01:06:16 -0200
commit401e5f8d38f539765cf550fa76b684d10975840c (patch)
tree4b12a9ac2b8b42490b4a085057c3dcc1a5e486e3 /drivers/media/video/em28xx
parent361ae54fc7f06a0cee1fb6e6a659a42556b56702 (diff)
downloadop-kernel-dev-401e5f8d38f539765cf550fa76b684d10975840c.zip
op-kernel-dev-401e5f8d38f539765cf550fa76b684d10975840c.tar.gz
V4L/DVB: em28xx: fix a compilation warning
drivers/media/video/em28xx/em28xx-video.c: In function ‘vidioc_s_register’: drivers/media/video/em28xx/em28xx-video.c:1617: warning: unused variable ‘rc’ Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx')
-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 06cf197..908e3bc 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -1614,7 +1614,6 @@ static int vidioc_s_register(struct file *file, void *priv,
struct em28xx_fh *fh = priv;
struct em28xx *dev = fh->dev;
__le16 buf;
- int rc;
switch (reg->match.type) {
case V4L2_CHIP_MATCH_AC97:
OpenPOWER on IntegriCloud