mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 15:34:48 +08:00
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>
This commit is contained in:
parent
661e7e8178
commit
a4367ff42d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user