summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2007-02-07 00:52:36 (GMT)
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 15:35:17 (GMT)
commit3198cf676c18edd2b04c7016d1873f6e797b3d9a (patch)
treeb98c7342b957ca4a796d11c745d21955291d2284
parente8be02a34a43c88a7666217b186e169a30f1609b (diff)
downloadlinux-3198cf676c18edd2b04c7016d1873f6e797b3d9a.tar.xz
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>
-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 4dae892..682dc7c 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,
struct v4l2_requestbuffers *req)
{
struct cafe_camera *cam = filp->private_data;
- int ret;
+ int ret = 0; /* Silence warning */
/*
* Make sure it's something we can do. User pointers could be