diff options
author | Jean-François Moine <moinejf@free.fr> | 2011-11-30 09:54:16 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 12:26:11 +0100 |
commit | 6121ca572f1b38dbce79b0366b47dbf2ce305eec (patch) | |
tree | 947dc5b9e4b33668300d920ce9aaea2fb9f74eb8 /drivers/media/video/gspca/mars.c | |
parent | [media] gspca: Remove the useless variable 'reverse_alts' (diff) | |
download | linux-6121ca572f1b38dbce79b0366b47dbf2ce305eec.tar.xz linux-6121ca572f1b38dbce79b0366b47dbf2ce305eec.zip |
[media] gspca: Remove the useless variable 'nbalt'
As the alternate settings are now sorted in gspca main,
the variable 'nbalt' 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/mars.c')
-rw-r--r-- | drivers/media/video/gspca/mars.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c index ef45fa575752..edd32793bb17 100644 --- a/drivers/media/video/gspca/mars.c +++ b/drivers/media/video/gspca/mars.c @@ -263,7 +263,6 @@ static int sd_config(struct gspca_dev *gspca_dev, cam->nmodes = ARRAY_SIZE(vga_mode); cam->ctrls = sd->ctrls; sd->quality = QUALITY_DEF; - gspca_dev->nbalt = 9; /* use the altsetting 08 */ return 0; } |