mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 11:09:00 +07:00
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:
parent
f91b84171b
commit
a9c24b8977
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user