diff options
author | Anton Leontiev <scileont@gmail.com> | 2018-06-12 12:11:01 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-06-28 13:51:38 +0200 |
commit | a9c24b8977c216cd7a8bf5a9f9d0621668e49746 (patch) | |
tree | 0545e598888ff150dbe69f50066fa8f988e21b91 /drivers/media/platform/vim2m.c | |
parent | media: bt8xx: bttv: fix spelling mistake: "culpit" -> "culprit" (diff) | |
download | linux-a9c24b8977c216cd7a8bf5a9f9d0621668e49746.tar.xz linux-a9c24b8977c216cd7a8bf5a9f9d0621668e49746.zip |
media: vim2m: Remove surplus name initialization
Name is already initialized by assignment from vim2m_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/vim2m.c')
-rw-r--r-- | drivers/media/platform/vim2m.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index 065483e62db4..1393aa806462 100644 --- a/drivers/media/platform/vim2m.c +++ b/drivers/media/platform/vim2m.c @@ -1020,7 +1020,6 @@ static int vim2m_probe(struct platform_device *pdev) } video_set_drvdata(vfd, dev); - snprintf(vfd->name, sizeof(vfd->name), "%s", vim2m_videodev.name); v4l2_info(&dev->v4l2_dev, "Device registered as /dev/video%d\n", vfd->num); |