V4L/DVB (7668): soc-camera: Remove redundant return
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 22 Apr 2008 13:33:39 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:09:45 +0000 (14:09 -0300)
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>
drivers/media/video/soc_camera.c

index 91a1251..a1b9244 100644 (file)
@@ -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,