Skip to content

Commit

Permalink
V4L/DVB (9879): gspca - vc032x: Remove the unused quality/qindex.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent d473a00 commit f8ea4af
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/media/video/gspca/vc032x.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ struct sd {
__u8 vflip;
__u8 lightfreq;

char qindex;
char bridge;
#define BRIDGE_VC0321 0
#define BRIDGE_VC0323 1
Expand Down Expand Up @@ -2016,7 +2015,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
}
}

sd->qindex = 7;
sd->hflip = HFLIP_DEF;
sd->vflip = VFLIP_DEF;
if (sd->sensor == SENSOR_OV7670) {
Expand Down Expand Up @@ -2052,10 +2050,6 @@ static int sd_init(struct gspca_dev *gspca_dev)
return 0;
}

static void setquality(struct gspca_dev *gspca_dev)
{
}

/* for OV7660 and OV7670 only */
static void sethvflip(struct gspca_dev *gspca_dev)
{
Expand Down Expand Up @@ -2221,7 +2215,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
if (sd->sensor != SENSOR_PO1200) {
reg_w(gspca_dev->dev, 0x89, 0xffff, 0xfdff);
msleep(100);
setquality(gspca_dev);
sethvflip(gspca_dev);
setlightfreq(gspca_dev);
} else {
Expand Down

0 comments on commit f8ea4af

Please sign in to comment.