diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2009-11-27 19:57:18 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-16 05:17:55 +0300 |
commit | 0fda5d4420fe1d6a19189386b6bc6532c97a7e0e (patch) | |
tree | f982dabe5e05325ba391efbc7860563a30cdabfe /drivers/media/video/vivi.c | |
parent | 38c7c036036c6260606a2a833aaad3794ca22499 (diff) | |
download | linux-0fda5d4420fe1d6a19189386b6bc6532c97a7e0e.tar.xz |
V4L/DVB (13551): v4l: Remove video_device::num usage from device drivers
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/vivi.c')
-rw-r--r-- | drivers/media/video/vivi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 48f5a628c065..93e0a258080d 100644 --- a/drivers/media/video/vivi.c +++ b/drivers/media/video/vivi.c @@ -1373,9 +1373,6 @@ static int __init vivi_create_instance(int inst) /* Now that everything is fine, let's add it to device list */ list_add_tail(&dev->vivi_devlist, &vivi_devlist); - snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", - vivi_template.name, vfd->num); - if (video_nr >= 0) video_nr++; |