summaryrefslogtreecommitdiff
path: root/drivers/media/video/gspca/mars.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-31 14:13:46 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 19:42:29 +0400
commit50e06dee958bdb81229cb42486f7fdc4917fa4da (patch)
tree9a5d02a24e5684c008137774a5ce0211a421c893 /drivers/media/video/gspca/mars.c
parentafd46291393e20736368e275a6f5f7c44dfe9540 (diff)
downloadlinux-50e06dee958bdb81229cb42486f7fdc4917fa4da.tar.xz
V4L/DVB (10333): gspca - main and many subdrivers: Remove the epaddr variable.
The transfer endpoint address is now automatically chosen. Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/mars.c')
-rw-r--r--drivers/media/video/gspca/mars.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c
index 3d2090e67a63..ba79afbf8b39 100644
--- a/drivers/media/video/gspca/mars.c
+++ b/drivers/media/video/gspca/mars.c
@@ -121,7 +121,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
struct cam *cam;
cam = &gspca_dev->cam;
- cam->epaddr = 0x01;
cam->cam_mode = vga_mode;
cam->nmodes = ARRAY_SIZE(vga_mode);
sd->qindex = 1; /* set the quantization table */