diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-30 07:16:08 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 12:43:50 -0300 |
commit | 7c4673335b5f0508a47763840d7f2403fa6d2773 (patch) | |
tree | 6c170fbffc7856a112d03a1a723c6104e598e31b /drivers/media | |
parent | 73722dddbd73f20799e84708f59d1cddf429dac9 (diff) | |
download | op-kernel-dev-7c4673335b5f0508a47763840d7f2403fa6d2773.zip op-kernel-dev-7c4673335b5f0508a47763840d7f2403fa6d2773.tar.gz |
V4L/DVB (11315): cx25840: fix 'unused variable' warning.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/cx25840/cx25840-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c index ec67aea..737ee4e 100644 --- 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); |