aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Leontiev <[email protected]>2018-06-12 06:11:03 -0400
committerMauro Carvalho Chehab <[email protected]>2018-06-28 07:52:20 -0400
commit4fb5288b1965f33c7c0056c55b3ec5d9d4a52044 (patch)
treeba5bb1b5b6821b43ffd5740a82e66c59a68d2c64
parent0d961c8998d7e8ea6dd0e00a7fdc629a0a0753cd (diff)
media: s5p-g2d: Remove surplus name initialization
Name is already initialized by assignment from g2d_videodev. Signed-off-by: Anton Leontiev <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r--drivers/media/platform/s5p-g2d/g2d.c1
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);