From: Hans Verkuil Date: Mon, 20 Jul 2015 09:47:23 +0000 (-0300) Subject: [media] tc358743: remove unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0527115af80970d65ae37c468e05e7bde82ce81;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] tc358743: remove unused variable The bt pointer was never used, remove it. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c index d0dd83d7a38e..2e926317d7e9 100644 --- a/drivers/media/i2c/tc358743.c +++ b/drivers/media/i2c/tc358743.c @@ -1347,7 +1347,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; @@ -1361,8 +1360,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__);