summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/nw80x.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-11-30 05:12:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-11 09:25:27 -0200
commita67648797a9cc5a407b7b81825b48ca5920c0c91 (patch)
treec685a3a8861c3a4ce2a2a1dffbb2a0ce567a03b2 /drivers/media/video/gspca/nw80x.c
parent50815707eebc7ce12bfd97933a6e68a482c4d7ab (diff)
[media] gspca: Remove the useless variable 'reverse_alts'
The alternate settings are now sorted in gspca main, so the flag 'reverse_alts' is no more useful. 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/nw80x.c')
-rw-r--r--drivers/media/video/gspca/nw80x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/nw80x.c b/drivers/media/video/gspca/nw80x.c
index 7681814e594..3830054a683 100644
--- a/drivers/media/video/gspca/nw80x.c
+++ b/drivers/media/video/gspca/nw80x.c
@@ -1763,7 +1763,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
if ((unsigned) webcam >= NWEBCAMS)
webcam = 0;
sd->webcam = webcam;
- gspca_dev->cam.reverse_alts = 1;
gspca_dev->cam.ctrls = sd->ctrls;
sd->ag_cnt = -1;