summaryrefslogtreecommitdiff
path: root/drivers/media/platform/rockchip/rga
diff options
context:
space:
mode:
authorAnton Leontiev <scileont@gmail.com>2018-06-12 13:11:06 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-28 14:53:19 +0300
commita4367ff42dde5d24f5217edba7c54cd13e21b2b6 (patch)
treed80bbaafb173c5086abfdfe5916e0bbbc12aa034 /drivers/media/platform/rockchip/rga
parent661e7e8178fba7bbaf0845326b36fd99887982d3 (diff)
downloadlinux-a4367ff42dde5d24f5217edba7c54cd13e21b2b6.tar.xz
media: rga: Remove surplus name initialization
Name is already initialized by assignment from rga_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/rockchip/rga')
-rw-r--r--drivers/media/platform/rockchip/rga/rga.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/rockchip/rga/rga.c b/drivers/media/platform/rockchip/rga/rga.c
index d508a8ba6f89..e8dffca669a1 100644
--- a/drivers/media/platform/rockchip/rga/rga.c
+++ b/drivers/media/platform/rockchip/rga/rga.c
@@ -882,7 +882,6 @@ static int rga_probe(struct platform_device *pdev)
vfd->v4l2_dev = &rga->v4l2_dev;
video_set_drvdata(vfd, rga);
- snprintf(vfd->name, sizeof(vfd->name), "%s", rga_videodev.name);
rga->vfd = vfd;
platform_set_drvdata(pdev, rga);