Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c467333 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (11315): cx25840: fix 'unused variable' warning.

parent 73722ddd
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -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)
static int cx25840_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt)
{
{
	struct i2c_client *client = v4l2_get_subdevdata(sd);

	switch (fmt->type) {
	switch (fmt->type) {
	case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE:
	case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE:
		return cx25840_vbi_g_fmt(sd, fmt);
		return cx25840_vbi_g_fmt(sd, fmt);