diff options
author | Anton Leontiev <scileont@gmail.com> | 2018-06-12 06:11:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-28 07:52:37 -0400 |
commit | 0874f0295d4e7f61b7c2c8b3ce3a7c70727693bd (patch) | |
tree | f275f8e5a45777e087d3bebb3f1e44190c29e94e /drivers/media/platform/mx2_emmaprp.c | |
parent | 4fb5288b1965f33c7c0056c55b3ec5d9d4a52044 (diff) |
media: mx2: Remove surplus name initialization
Name is already initialized by assignment from emmaprp_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/mx2_emmaprp.c')
-rw-r--r-- | drivers/media/platform/mx2_emmaprp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c index 5a8eff60e95f..2e64729134b2 100644 --- a/drivers/media/platform/mx2_emmaprp.c +++ b/drivers/media/platform/mx2_emmaprp.c @@ -934,7 +934,6 @@ static int emmaprp_probe(struct platform_device *pdev) vfd->v4l2_dev = &pcdev->v4l2_dev; video_set_drvdata(vfd, pcdev); - snprintf(vfd->name, sizeof(vfd->name), "%s", emmaprp_videodev.name); pcdev->vfd = vfd; v4l2_info(&pcdev->v4l2_dev, EMMAPRP_MODULE_NAME " Device registered as /dev/video%d\n", vfd->num); |