diff options
author | Anton Leontiev <scileont@gmail.com> | 2018-06-12 06:11:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-28 07:52:55 -0400 |
commit | 661e7e8178fba7bbaf0845326b36fd99887982d3 (patch) | |
tree | e26408632ed8d2a6b65f68a97aa01799636dfe0a /drivers | |
parent | 0874f0295d4e7f61b7c2c8b3ce3a7c70727693bd (diff) |
media: m2m-deinterlace: Remove surplus name initialization
Name is already initialized by assignment from deinterlace_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')
-rw-r--r-- | drivers/media/platform/m2m-deinterlace.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media/platform/m2m-deinterlace.c index 1e4195144f39..3008892eb8dd 100644 --- a/drivers/media/platform/m2m-deinterlace.c +++ b/drivers/media/platform/m2m-deinterlace.c @@ -1040,7 +1040,6 @@ static int deinterlace_probe(struct platform_device *pdev) } video_set_drvdata(vfd, pcdev); - snprintf(vfd->name, sizeof(vfd->name), "%s", deinterlace_videodev.name); v4l2_info(&pcdev->v4l2_dev, MEM2MEM_TEST_MODULE_NAME " Device registered as /dev/video%d\n", vfd->num); |