mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue