diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2009-11-27 11:57:18 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-15 21:17:55 -0500 |
commit | 0fda5d4420fe1d6a19189386b6bc6532c97a7e0e (patch) | |
tree | f982dabe5e05325ba391efbc7860563a30cdabfe /drivers/media/video/vivi.c | |
parent | 38c7c036036c6260606a2a833aaad3794ca22499 (diff) |
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) | |||
1373 | /* Now that everything is fine, let's add it to device list */ | 1373 | /* Now that everything is fine, let's add it to device list */ |
1374 | list_add_tail(&dev->vivi_devlist, &vivi_devlist); | 1374 | list_add_tail(&dev->vivi_devlist, &vivi_devlist); |
1375 | 1375 | ||
1376 | snprintf(vfd->name, sizeof(vfd->name), "%s (%i)", | ||
1377 | vivi_template.name, vfd->num); | ||
1378 | |||
1379 | if (video_nr >= 0) | 1376 | if (video_nr >= 0) |
1380 | video_nr++; | 1377 | video_nr++; |
1381 | 1378 | ||