summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cafe_ccic.c
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2007-02-07 01:52:36 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 16:35:17 +0100
commit3198cf676c18edd2b04c7016d1873f6e797b3d9a (patch)
treeb98c7342b957ca4a796d11c745d21955291d2284 /drivers/media/video/cafe_ccic.c
parentV4L/DVB (5197): Convert to generic boolean-values (diff)
downloadlinux-3198cf676c18edd2b04c7016d1873f6e797b3d9a.tar.xz
linux-3198cf676c18edd2b04c7016d1873f6e797b3d9a.zip
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/media/video/cafe_ccic.c')
-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,
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