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

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
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment