Browse Source

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>
Anton Leontiev 7 years ago
parent
commit
4fb5288b19
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/media/platform/s5p-g2d/g2d.c

+ 0 - 1
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);