Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);