diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-08-11 10:26:51 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-08-11 10:26:51 +0200 |
commit | 820cd3d979980715c200c58479a5160fb7ca73f5 (patch) | |
tree | 856f8d0d631cff5bb34fef5f2827fb831eaba7d2 /linux | |
parent | 204cd2aaa5fba1e632c484810e169de7f099571c (diff) | |
download | mediapointer-dvb-s2-820cd3d979980715c200c58479a5160fb7ca73f5.tar.gz mediapointer-dvb-s2-820cd3d979980715c200c58479a5160fb7ca73f5.tar.bz2 |
gspca: Remove the unused field 'dev_name' of the device structure.
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/video/gspca/gspca.h | 1 | ||||
-rw-r--r-- | linux/drivers/media/video/gspca/pac207.c | 1 | ||||
-rw-r--r-- | linux/drivers/media/video/gspca/spca561.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/linux/drivers/media/video/gspca/gspca.h b/linux/drivers/media/video/gspca/gspca.h index 67e448940..5cb584546 100644 --- a/linux/drivers/media/video/gspca/gspca.h +++ b/linux/drivers/media/video/gspca/gspca.h @@ -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; diff --git a/linux/drivers/media/video/gspca/pac207.c b/linux/drivers/media/video/gspca/pac207.c index 7ef18d578..cee45b048 100644 --- a/linux/drivers/media/video/gspca/pac207.c +++ b/linux/drivers/media/video/gspca/pac207.c @@ -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); diff --git a/linux/drivers/media/video/gspca/spca561.c b/linux/drivers/media/video/gspca/spca561.c index 02e274452..a9f7c99e6 100644 --- a/linux/drivers/media/video/gspca/spca561.c +++ b/linux/drivers/media/video/gspca/spca561.c @@ -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; |