This obviously redundant return has been in the driver from the very first version. Remove it. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
@@ -144,8 +144,6 @@ static int soc_camera_reqbufs(struct file *file, void *priv,
return ret;
return ici->ops->reqbufs(icf, p);
-
- return ret;
}
static int soc_camera_querybuf(struct file *file, void *priv,