summaryrefslogtreecommitdiff
path: root/drivers/media/video/bt8xx
diff options
context:
space:
mode:
authorfigo.zhang <figo.zhang@kolorific.com>2009-05-18 02:31:55 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 21:21:13 (GMT)
commit6ecdf92d211fb37a905fce5d0a8668c831764abc (patch)
tree868880a4d0e4a36867546db8ba51117b73ee1a0b /drivers/media/video/bt8xx
parent4a567394dce57e8a2329f0a1123b951b0f070d39 (diff)
downloadlinux-fsl-qoriq-6ecdf92d211fb37a905fce5d0a8668c831764abc.tar.xz
V4L/DVB (11853): minor have assigned value twice
The variable minor have assigned value twice, the first time is in the initial "video_device" data struct in those drivers, pls see saa7134-video.c,line 2503. --- Signed-off-by: Figo.zhang <figo.zhang@kolorific.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/bt8xx')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index 23b7499..539ae45 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -4166,7 +4166,6 @@ static struct video_device *vdev_init(struct bttv *btv,
if (NULL == vfd)
return NULL;
*vfd = *template;
- vfd->minor = -1;
vfd->v4l2_dev = &btv->c.v4l2_dev;
vfd->release = video_device_release;
vfd->debug = bttv_debug;