V4L/DVB: em28xx: fix a compilation warning
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 30 Sep 2010 11:41:49 +0000 (08:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:16 +0000 (01:06 -0200)
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>
drivers/media/video/em28xx/em28xx-video.c

index 06cf1979250447a89c8a6b0100cd112671b98056..908e3bc88303989c10f6ae8950286a820d2132e9 100644 (file)
@@ -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: