projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73722dd
)
V4L/DVB (11315): cx25840: fix 'unused variable' warning.
author
Hans Verkuil
<
[email protected]
>
Mon, 30 Mar 2009 10:16:08 +0000
(07:16 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Mon, 30 Mar 2009 15:43:50 +0000
(12:43 -0300)
Signed-off-by: Hans Verkuil <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/cx25840/cx25840-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx25840/cx25840-core.c
b/drivers/media/video/cx25840/cx25840-core.c
index ec67aea0cdb8dee63c7f1208b58d8fef759c0399..737ee4ea883082294330abfff84ade1512efefaa 100644
(file)
--- a/
drivers/media/video/cx25840/cx25840-core.c
+++ b/
drivers/media/video/cx25840/cx25840-core.c
@@
-824,8
+824,6
@@
static int cx25840_g_ctrl(struct v4l2_subdev *sd, struct v4l2_control *ctrl)
static int cx25840_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt)
{
- struct i2c_client *client = v4l2_get_subdevdata(sd);
-
switch (fmt->type) {
case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE:
return cx25840_vbi_g_fmt(sd, fmt);