diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-06 20:36:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 09:25:56 +0200 |
commit | 4607c2487bf21846b849878f904ff80755158aa3 (patch) | |
tree | 96d597af800db8938f6a6ca6e992f13212dca2fd /drivers/media/platform | |
parent | 2f63379b93fa389ed65432d456da6697f60f7338 (diff) | |
download | linux-stable-4607c2487bf21846b849878f904ff80755158aa3.tar.gz linux-stable-4607c2487bf21846b849878f904ff80755158aa3.tar.bz2 linux-stable-4607c2487bf21846b849878f904ff80755158aa3.zip |
media: ti-vpe: cal: Drop struct cal_dev v4l2_dev field
The v4l2_dev field of the cal_dev structure is initialized but never
used. Drop it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r-- | drivers/media/platform/ti-vpe/cal.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-vpe/cal.c index f92d6e49571f..feb53b862306 100644 --- a/drivers/media/platform/ti-vpe/cal.c +++ b/drivers/media/platform/ti-vpe/cal.c @@ -279,7 +279,6 @@ struct cal_dev { void __iomem *base; struct resource *res; struct platform_device *pdev; - struct v4l2_device v4l2_dev; const struct cal_data *data; @@ -2288,10 +2287,6 @@ static int cal_probe(struct platform_device *pdev) return -ENODEV; } - /* set pseudo v4l2 device name so we can use v4l2_printk */ - strscpy(cal->v4l2_dev.name, CAL_MODULE_NAME, - sizeof(cal->v4l2_dev.name)); - /* save pdev pointer */ cal->pdev = pdev; |