summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-30 12:16:08 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-30 12:16:08 +0200
commit6f7ed0b73229342a0abbeb7764f97f565ba1e188 (patch)
tree417fe5901bfc8f6ca42ad440171caed058112ee7
parentd1daa96b2ee8d633ec40e440c2a97c6719cd8b7a (diff)
downloadmediapointer-dvb-s2-6f7ed0b73229342a0abbeb7764f97f565ba1e188.tar.gz
mediapointer-dvb-s2-6f7ed0b73229342a0abbeb7764f97f565ba1e188.tar.bz2
cx25840: fix 'unused variable' warning.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--linux/drivers/media/video/cx25840/cx25840-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c
index be270ea5b..67971cc3c 100644
--- a/linux/drivers/media/video/cx25840/cx25840-core.c
+++ b/linux/drivers/media/video/cx25840/cx25840-core.c
@@ -942,8 +942,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);