diff options
author | Anton Leontiev <scileont@gmail.com> | 2018-06-12 06:11:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-28 07:52:20 -0400 |
commit | 4fb5288b1965f33c7c0056c55b3ec5d9d4a52044 (patch) | |
tree | ba5bb1b5b6821b43ffd5740a82e66c59a68d2c64 /drivers/media/platform/s5p-g2d | |
parent | 0d961c8998d7e8ea6dd0e00a7fdc629a0a0753cd (diff) |
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>
Diffstat (limited to 'drivers/media/platform/s5p-g2d')
-rw-r--r-- | drivers/media/platform/s5p-g2d/g2d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-g2d/g2d.c b/drivers/media/platform/s5p-g2d/g2d.c index 66aa8cf1d048..3735c204e9ac 100644 --- a/drivers/media/platform/s5p-g2d/g2d.c +++ b/drivers/media/platform/s5p-g2d/g2d.c @@ -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); |