[media] gspca - ov534_9: Remove an useless instruction
authorJean-François Moine <moinejf@free.fr>
Sat, 25 Dec 2010 17:01:42 +0000 (14:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:06 +0000 (08:17 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov534_9.c

index e831f0d280ea7bf268084a93393435679283dcfa..c5244b4b47778648275daf975f7cc2b3cbdbdabf 100644 (file)
@@ -945,7 +945,6 @@ static void setautogain(struct gspca_dev *gspca_dev)
        u8 val;
 
 /*fixme: should adjust agc/awb/aec by different controls */
-       val = sd->autogain;
        val = sccb_read(gspca_dev, 0x13);               /* com8 */
        sccb_write(gspca_dev, 0xff, 0x00);
        if (sd->autogain)