diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-09-30 07:41:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-20 23:06:16 -0400 |
commit | 401e5f8d38f539765cf550fa76b684d10975840c (patch) | |
tree | 4b12a9ac2b8b42490b4a085057c3dcc1a5e486e3 /drivers | |
parent | 361ae54fc7f06a0cee1fb6e6a659a42556b56702 (diff) |
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')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 1 |
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 06cf19792504..908e3bc88303 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, | |||
1614 | struct em28xx_fh *fh = priv; | 1614 | struct em28xx_fh *fh = priv; |
1615 | struct em28xx *dev = fh->dev; | 1615 | struct em28xx *dev = fh->dev; |
1616 | __le16 buf; | 1616 | __le16 buf; |
1617 | int rc; | ||
1618 | 1617 | ||
1619 | switch (reg->match.type) { | 1618 | switch (reg->match.type) { |
1620 | case V4L2_CHIP_MATCH_AC97: | 1619 | case V4L2_CHIP_MATCH_AC97: |