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

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

media: s5p-g2d: Remove surplus name initialization



Name is already initialized by assignment from g2d_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 0d961c89
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -702,7 +702,6 @@ static int g2d_probe(struct platform_device *pdev)
		goto rel_vdev;
	}
	video_set_drvdata(vfd, dev);
	snprintf(vfd->name, sizeof(vfd->name), "%s", g2d_videodev.name);
	dev->vfd = vfd;
	v4l2_info(&dev->v4l2_dev, "device registered as /dev/video%d\n",
								vfd->num);