summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-02-06 22:52:36 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-06 22:52:36 -0200
commit8f938cbe5d449f5497d2cc698324d6c5c421eec1 (patch)
treed33705d4907396d581b779c9ef256f871fd303a6 /linux
parent3373fc4cf4a1eb5f99208906aaa15e4c006af5bd (diff)
downloadmediapointer-dvb-s2-8f938cbe5d449f5497d2cc698324d6c5c421eec1.tar.gz
mediapointer-dvb-s2-8f938cbe5d449f5497d2cc698324d6c5c421eec1.tar.bz2
Cafe_ccic.c fix warning
From: Jonathan Corbet <corbet@lwn.net> 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 'linux')
-rw-r--r--linux/drivers/media/video/cafe_ccic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cafe_ccic.c b/linux/drivers/media/video/cafe_ccic.c
index 68f2326dc..a8d0cb910 100644
--- a/linux/drivers/media/video/cafe_ccic.c
+++ b/linux/drivers/media/video/cafe_ccic.c
@@ -1201,7 +1201,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