tc358743: remove unused variable
Subsystems (2)
PATCH 1/1 tc358743: remove unused variable
The bt pointer was never used, remove it.
Signed-off-by Hans Verkuil <[email protected]>
drivers/media/i2c/tc358743.c +0 -3
@@ -1316,7 +1316,6 @@ static int tc358743_s_dv_timings(struct v4l2_subdev *sd, struct v4l2_dv_timings *timings) {struct tc358743_state *state =to_state (sd); -struct v4l2_bt_timings *bt;if (!timings)return -EINVAL ;
@@ -1330,8 +1329,6 @@ static int tc358743_s_dv_timings(struct v4l2_subdev *sd,return 0 ; } - bt = &timings->bt; -if (!v4l2_valid_dv_timings (timings, &tc358743_timings_cap,NULL ,NULL )) {v4l2_dbg (1 , debug, sd,"%s: timings out of range\n" , __func__);