media: vim2m: Remove surplus name initialization

Name is already initialized by assignment from vim2m_videodev.

Signed-off-by: Anton Leontiev <scileont@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Anton Leontiev 2018-06-12 06:11:01 -04:00 committed by Mauro Carvalho Chehab
parent f91b84171b
commit a9c24b8977

View File

@ -1020,7 +1020,6 @@ static int vim2m_probe(struct platform_device *pdev)
}
video_set_drvdata(vfd, dev);
snprintf(vfd->name, sizeof(vfd->name), "%s", vim2m_videodev.name);
v4l2_info(&dev->v4l2_dev,
"Device registered as /dev/video%d\n", vfd->num);