Commit a9c24b89 authored by Anton Leontiev's avatar Anton Leontiev Committed by Mauro Carvalho Chehab

media: vim2m: Remove surplus name initialization

Name is already initialized by assignment from vim2m_videodev.
Signed-off-by: default avatarAnton Leontiev <scileont@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent f91b8417
...@@ -1020,7 +1020,6 @@ static int vim2m_probe(struct platform_device *pdev) ...@@ -1020,7 +1020,6 @@ static int vim2m_probe(struct platform_device *pdev)
} }
video_set_drvdata(vfd, dev); video_set_drvdata(vfd, dev);
snprintf(vfd->name, sizeof(vfd->name), "%s", vim2m_videodev.name);
v4l2_info(&dev->v4l2_dev, v4l2_info(&dev->v4l2_dev,
"Device registered as /dev/video%d\n", vfd->num); "Device registered as /dev/video%d\n", vfd->num);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment