diff options
author | figo.zhang <figo.zhang@kolorific.com> | 2009-05-17 23:31:55 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:21:13 -0300 |
commit | 6ecdf92d211fb37a905fce5d0a8668c831764abc (patch) | |
tree | 868880a4d0e4a36867546db8ba51117b73ee1a0b /drivers/media/video/cx88 | |
parent | 4a567394dce57e8a2329f0a1123b951b0f070d39 (diff) | |
download | op-kernel-dev-6ecdf92d211fb37a905fce5d0a8668c831764abc.zip op-kernel-dev-6ecdf92d211fb37a905fce5d0a8668c831764abc.tar.gz |
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/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index 0e149b2..b4049de 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c @@ -1010,7 +1010,6 @@ struct video_device *cx88_vdev_init(struct cx88_core *core, if (NULL == vfd) return NULL; *vfd = *template; - vfd->minor = -1; vfd->v4l2_dev = &core->v4l2_dev; vfd->parent = &pci->dev; vfd->release = video_device_release; |