Commit b0527115 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] tc358743: remove unused variable

The bt pointer was never used, remove it.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent e752577e
...@@ -1347,7 +1347,6 @@ static int tc358743_s_dv_timings(struct v4l2_subdev *sd, ...@@ -1347,7 +1347,6 @@ static int tc358743_s_dv_timings(struct v4l2_subdev *sd,
struct v4l2_dv_timings *timings) struct v4l2_dv_timings *timings)
{ {
struct tc358743_state *state = to_state(sd); struct tc358743_state *state = to_state(sd);
struct v4l2_bt_timings *bt;
if (!timings) if (!timings)
return -EINVAL; return -EINVAL;
...@@ -1361,8 +1360,6 @@ static int tc358743_s_dv_timings(struct v4l2_subdev *sd, ...@@ -1361,8 +1360,6 @@ static int tc358743_s_dv_timings(struct v4l2_subdev *sd,
return 0; return 0;
} }
bt = &timings->bt;
if (!v4l2_valid_dv_timings(timings, if (!v4l2_valid_dv_timings(timings,
&tc358743_timings_cap, NULL, NULL)) { &tc358743_timings_cap, NULL, NULL)) {
v4l2_dbg(1, debug, sd, "%s: timings out of range\n", __func__); v4l2_dbg(1, debug, sd, "%s: timings out of range\n", __func__);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment