Skip to content

Commit

Permalink
V4L/DVB (8671): gspca: Remove the unused field 'dev_name' of the devi…
Browse files Browse the repository at this point in the history
…ce structure.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Sep 3, 2008
1 parent 6c9d3c5 commit a0b508c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/media/video/gspca/gspca.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion drivers/media/video/gspca/pac207.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion drivers/media/video/gspca/spca561.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a0b508c

Please sign in to comment.