提交 84cc2377 编写于 作者: M Mauro Carvalho Chehab

[media] soc_camera: ret is never used. get rid of it

drivers/media/platform/soc_camera/soc_camera.c:1051:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable]

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 2e7b318f
......@@ -1048,10 +1048,8 @@ static void scan_add_host(struct soc_camera_host *ici)
list_for_each_entry(icd, &devices, list) {
if (icd->iface == ici->nr) {
int ret;
icd->parent = ici->v4l2_dev.dev;
ret = soc_camera_probe(icd);
soc_camera_probe(icd);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册