summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/rockchip
diff options
context:
space:
mode:
authorAnton Leontiev <scileont@gmail.com>2018-06-12 12:11:06 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-06-28 13:53:19 +0200
commita4367ff42dde5d24f5217edba7c54cd13e21b2b6 (patch)
treed80bbaafb173c5086abfdfe5916e0bbbc12aa034 /drivers/media/platform/rockchip
parentmedia: m2m-deinterlace: Remove surplus name initialization (diff)
downloadlinux-a4367ff42dde5d24f5217edba7c54cd13e21b2b6.tar.xz
linux-a4367ff42dde5d24f5217edba7c54cd13e21b2b6.zip
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')
-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);