mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 23:53:55 +08:00
[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: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
2e7b318fa1
commit
84cc2377ee
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user