aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2007-02-06 19:52:36 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:35:17 -0500
commit3198cf676c18edd2b04c7016d1873f6e797b3d9a (patch)
treeb98c7342b957ca4a796d11c745d21955291d2284 /drivers
parente8be02a34a43c88a7666217b186e169a30f1609b (diff)
V4L/DVB (5198): Cafe_ccic.c fix warning
Quiet a spurious gcc warning. Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cafe_ccic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c
index 4dae8925667f..682dc7ce48d9 100644
--- a/drivers/media/video/cafe_ccic.c
+++ b/drivers/media/video/cafe_ccic.c
@@ -1195,7 +1195,7 @@ static int cafe_vidioc_reqbufs(struct file *filp, void *priv,
1195 struct v4l2_requestbuffers *req) 1195 struct v4l2_requestbuffers *req)
1196{ 1196{
1197 struct cafe_camera *cam = filp->private_data; 1197 struct cafe_camera *cam = filp->private_data;
1198 int ret; 1198 int ret = 0; /* Silence warning */
1199 1199
1200 /* 1200 /*
1201 * Make sure it's something we can do. User pointers could be 1201 * Make sure it's something we can do. User pointers could be