]> err.no Git - linux-2.6/commitdiff
V4L/DVB (8671): gspca: Remove the unused field 'dev_name' of the device structure.
authorJean-Francois Moine <moinejf@free.fr>
Wed, 3 Sep 2008 19:47:31 +0000 (16:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:36:35 +0000 (18:36 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/gspca/gspca.h
drivers/media/video/gspca/pac207.c
drivers/media/video/gspca/spca561.c

index 67e448940eaa300bc8507b6a5afd9eee4451784f..5cb584546ee68c868d0e4bbcd64fe0813903e6d2 100644 (file)
@@ -56,7 +56,6 @@ extern int gspca_debug;
 
 /* device information - set at probe time */
 struct cam {
-       char *dev_name;
        struct v4l2_pix_format *cam_mode;       /* size nmodes */
        char nmodes;
        __u8 epaddr;
index 7ef18d57881156de5cd5f125d410e9632e7112b3..cee45b0486cbff42afc2cdcbbc4f237302112ec2 100644 (file)
@@ -271,7 +271,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
                " (vid/pid 0x%04X:0x%04X)", id->idVendor, id->idProduct);
 
        cam = &gspca_dev->cam;
-       cam->dev_name = (char *) id->driver_info;
        cam->epaddr = 0x05;
        cam->cam_mode = sif_mode;
        cam->nmodes = ARRAY_SIZE(sif_mode);
index 02e274452c46239056b2095d907aa5f91c7b1563..a9f7c99e6f56913baaf818d0916749abd5c8aca3 100644 (file)
@@ -602,7 +602,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
        }
 
        cam = &gspca_dev->cam;
-       cam->dev_name = (char *) id->driver_info;
        cam->epaddr = 0x01;
        gspca_dev->nbalt = 7 + 1;       /* choose alternate 7 first */
        cam->cam_mode = sif_mode;