aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-12 02:48:06 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:39:03 -0500
commitf8ea4af42b03976eb986742957fc7c581b620937 (patch)
treeb1895180cbe1e30123f21e9c34fffebec38fd40f
parentd473a002399ff8cd168012f831aca7691d5f5086 (diff)
V4L/DVB (9879): gspca - vc032x: Remove the unused quality/qindex.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/vc032x.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c
index 4556348f96e9..87d9df8cd1cb 100644
--- a/drivers/media/video/gspca/vc032x.c
+++ b/drivers/media/video/gspca/vc032x.c
@@ -36,7 +36,6 @@ struct sd {
36 __u8 vflip; 36 __u8 vflip;
37 __u8 lightfreq; 37 __u8 lightfreq;
38 38
39 char qindex;
40 char bridge; 39 char bridge;
41#define BRIDGE_VC0321 0 40#define BRIDGE_VC0321 0
42#define BRIDGE_VC0323 1 41#define BRIDGE_VC0323 1
@@ -2016,7 +2015,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
2016 } 2015 }
2017 } 2016 }
2018 2017
2019 sd->qindex = 7;
2020 sd->hflip = HFLIP_DEF; 2018 sd->hflip = HFLIP_DEF;
2021 sd->vflip = VFLIP_DEF; 2019 sd->vflip = VFLIP_DEF;
2022 if (sd->sensor == SENSOR_OV7670) { 2020 if (sd->sensor == SENSOR_OV7670) {
@@ -2052,10 +2050,6 @@ static int sd_init(struct gspca_dev *gspca_dev)
2052 return 0; 2050 return 0;
2053} 2051}
2054 2052
2055static void setquality(struct gspca_dev *gspca_dev)
2056{
2057}
2058
2059/* for OV7660 and OV7670 only */ 2053/* for OV7660 and OV7670 only */
2060static void sethvflip(struct gspca_dev *gspca_dev) 2054static void sethvflip(struct gspca_dev *gspca_dev)
2061{ 2055{
@@ -2221,7 +2215,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
2221 if (sd->sensor != SENSOR_PO1200) { 2215 if (sd->sensor != SENSOR_PO1200) {
2222 reg_w(gspca_dev->dev, 0x89, 0xffff, 0xfdff); 2216 reg_w(gspca_dev->dev, 0x89, 0xffff, 0xfdff);
2223 msleep(100); 2217 msleep(100);
2224 setquality(gspca_dev);
2225 sethvflip(gspca_dev); 2218 sethvflip(gspca_dev);
2226 setlightfreq(gspca_dev); 2219 setlightfreq(gspca_dev);
2227 } else { 2220 } else {