summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2015-07-20 09:47:23 (GMT)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 09:37:47 (GMT)
commitb0527115af80970d65ae37c468e05e7bde82ce81 (patch)
treec0893e23ffbfbf80476e28cf84bb289514e205e2
parente752577ed7bf55c81e10343fced8b378cda2b63b (diff)
downloadlinux-b0527115af80970d65ae37c468e05e7bde82ce81.tar.xz
[media] tc358743: remove unused variable
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>
-rw-r--r--drivers/media/i2c/tc358743.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c
index d0dd83d..2e92631 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__);