提交 3198cf67 编写于 作者: J Jonathan Corbet 提交者: Mauro Carvalho Chehab

V4L/DVB (5198): Cafe_ccic.c fix warning

Quiet a spurious gcc warning.
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 e8be02a3
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册