[media] tc358743: remove unused variable
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 20 Jul 2015 09:47:23 +0000 (06:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 09:37:47 +0000 (06:37 -0300)
The bt pointer was never used, remove it.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/tc358743.c

index d0dd83d7a38ea43d47f20f9e103028882b6f3926..2e926317d7e93b4e6c82343bfe19cb586183e3b0 100644 (file)
@@ -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__);