mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
media: ti-vpe: Remove surplus name initialization
Name is already initialized by assignment from vpe_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
a9c24b8977
commit
0d961c8998
@ -2485,7 +2485,6 @@ static void vpe_fw_cb(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
video_set_drvdata(vfd, dev);
|
||||
snprintf(vfd->name, sizeof(vfd->name), "%s", vpe_videodev.name);
|
||||
dev_info(dev->v4l2_dev.dev, "Device registered as /dev/video%d\n",
|
||||
vfd->num);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user