Commit 84cc2377 authored by Mauro Carvalho Chehab's avatar 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: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment