mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
media: s5p-g2d: Remove surplus name initialization
Name is already initialized by assignment from g2d_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
0d961c8998
commit
4fb5288b19
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user