Skip to content

Commit

Permalink
V4L/DVB (11315): cx25840: fix 'unused variable' warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 73722dd commit 7c46733
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/cx25840/cx25840-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7c46733

Please sign in to comment.