Commit a4367ff4 authored by Anton Leontiev's avatar Anton Leontiev Committed by Mauro Carvalho Chehab

media: rga: Remove surplus name initialization

Name is already initialized by assignment from rga_videodev.
Signed-off-by: default avatarAnton Leontiev <scileont@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 661e7e81
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment