diff options
author | Jean-François Moine <moinejf@free.fr> | 2011-11-30 12:54:16 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 15:26:11 +0400 |
commit | 6121ca572f1b38dbce79b0366b47dbf2ce305eec (patch) | |
tree | 947dc5b9e4b33668300d920ce9aaea2fb9f74eb8 /drivers/media/video/gspca/konica.c | |
parent | a67648797a9cc5a407b7b81825b48ca5920c0c91 (diff) | |
download | linux-6121ca572f1b38dbce79b0366b47dbf2ce305eec.tar.xz |
[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/konica.c')
-rw-r--r-- | drivers/media/video/gspca/konica.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/konica.c b/drivers/media/video/gspca/konica.c index f3f7fe0ec4b7..494b05ed8f1a 100644 --- a/drivers/media/video/gspca/konica.c +++ b/drivers/media/video/gspca/konica.c @@ -247,9 +247,6 @@ static int sd_config(struct gspca_dev *gspca_dev, gspca_dev->cam.cam_mode = vga_mode; gspca_dev->cam.nmodes = ARRAY_SIZE(vga_mode); gspca_dev->cam.no_urb_create = 1; - /* The highest alt setting has an isoc packetsize of 0, so we - don't want to use it */ - gspca_dev->nbalt--; sd->brightness = BRIGHTNESS_DEFAULT; sd->contrast = CONTRAST_DEFAULT; |