aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-03 15:47:31 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-03 17:36:35 -0400
commita0b508c2d7d0de0e46555793e334e35381716825 (patch)
treecd02835625cf9030cd7896b5e9809f6b23132203 /drivers
parent6c9d3c59e6fdb8dfadaf7ba38f1d0b64ff066b36 (diff)
V4L/DVB (8671): gspca: Remove the unused field 'dev_name' of the device structure.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/gspca.h1
-rw-r--r--drivers/media/video/gspca/pac207.c1
-rw-r--r--drivers/media/video/gspca/spca561.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/gspca.h b/drivers/media/video/gspca/gspca.h
index 67e448940eaa..5cb584546ee6 100644
--- a/drivers/media/video/gspca/gspca.h
+++ b/drivers/media/video/gspca/gspca.h
@@ -56,7 +56,6 @@ extern int gspca_debug;
56 56
57/* device information - set at probe time */ 57/* device information - set at probe time */
58struct cam { 58struct cam {
59 char *dev_name;
60 struct v4l2_pix_format *cam_mode; /* size nmodes */ 59 struct v4l2_pix_format *cam_mode; /* size nmodes */
61 char nmodes; 60 char nmodes;
62 __u8 epaddr; 61 __u8 epaddr;
diff --git a/drivers/media/video/gspca/pac207.c b/drivers/media/video/gspca/pac207.c
index 7ef18d578811..cee45b0486cb 100644
--- a/drivers/media/video/gspca/pac207.c
+++ b/drivers/media/video/gspca/pac207.c
@@ -271,7 +271,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
271 " (vid/pid 0x%04X:0x%04X)", id->idVendor, id->idProduct); 271 " (vid/pid 0x%04X:0x%04X)", id->idVendor, id->idProduct);
272 272
273 cam = &gspca_dev->cam; 273 cam = &gspca_dev->cam;
274 cam->dev_name = (char *) id->driver_info;
275 cam->epaddr = 0x05; 274 cam->epaddr = 0x05;
276 cam->cam_mode = sif_mode; 275 cam->cam_mode = sif_mode;
277 cam->nmodes = ARRAY_SIZE(sif_mode); 276 cam->nmodes = ARRAY_SIZE(sif_mode);
diff --git a/drivers/media/video/gspca/spca561.c b/drivers/media/video/gspca/spca561.c
index 02e274452c46..a9f7c99e6f56 100644
--- a/drivers/media/video/gspca/spca561.c
+++ b/drivers/media/video/gspca/spca561.c
@@ -602,7 +602,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
602 } 602 }
603 603
604 cam = &gspca_dev->cam; 604 cam = &gspca_dev->cam;
605 cam->dev_name = (char *) id->driver_info;
606 cam->epaddr = 0x01; 605 cam->epaddr = 0x01;
607 gspca_dev->nbalt = 7 + 1; /* choose alternate 7 first */ 606 gspca_dev->nbalt = 7 + 1; /* choose alternate 7 first */
608 cam->cam_mode = sif_mode; 607 cam->cam_mode = sif_mode;