summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-12-25 14:01:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 08:17:06 -0200
commitb69a219e0e97441dbeb0262cf85468b61a161399 (patch)
tree84d839837d592090dbb9d32ad378c74d2ac578fa /drivers/media/video/gspca
parent7a5a414ccb5bfc0fe277ef1a0e9d1e492a6f083c (diff)
downloadop-kernel-dev-b69a219e0e97441dbeb0262cf85468b61a161399.zip
op-kernel-dev-b69a219e0e97441dbeb0262cf85468b61a161399.tar.gz
[media] gspca - ov534_9: Remove an useless instruction
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/ov534_9.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/ov534_9.c b/drivers/media/video/gspca/ov534_9.c
index e831f0d2..c5244b4 100644
--- a/drivers/media/video/gspca/ov534_9.c
+++ b/drivers/media/video/gspca/ov534_9.c
@@ -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)
OpenPOWER on IntegriCloud