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

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

media: mx2: Remove surplus name initialization



Name is already initialized by assignment from emmaprp_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 4fb5288b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -934,7 +934,6 @@ static int emmaprp_probe(struct platform_device *pdev)
	vfd->v4l2_dev = &pcdev->v4l2_dev;

	video_set_drvdata(vfd, pcdev);
	snprintf(vfd->name, sizeof(vfd->name), "%s", emmaprp_videodev.name);
	pcdev->vfd = vfd;
	v4l2_info(&pcdev->v4l2_dev, EMMAPRP_MODULE_NAME
		  " Device registered as /dev/video%d\n", vfd->num);