diff options
-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 ec67aea0cdb..737ee4ea883 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) | |||
824 | 824 | ||
825 | static int cx25840_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) | 825 | static int cx25840_g_fmt(struct v4l2_subdev *sd, struct v4l2_format *fmt) |
826 | { | 826 | { |
827 | struct i2c_client *client = v4l2_get_subdevdata(sd); | ||
828 | |||
829 | switch (fmt->type) { | 827 | switch (fmt->type) { |
830 | case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: | 828 | case V4L2_BUF_TYPE_SLICED_VBI_CAPTURE: |
831 | return cx25840_vbi_g_fmt(sd, fmt); | 829 | return cx25840_vbi_g_fmt(sd, fmt); |