* [PATCH] tc358743: remove unused variable
@ 2015-07-20 9:47 Hans Verkuil
0 siblings, 0 replies; only message in thread
From: Hans Verkuil @ 2015-07-20 9:47 UTC (permalink / raw)
To: Linux Media Mailing List
The bt pointer was never used, remove it.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c
index 4e8811c..9447d88 100644
--- a/drivers/media/i2c/tc358743.c
+++ b/drivers/media/i2c/tc358743.c
@@ -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__);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-20 9:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-20 9:47 [PATCH] tc358743: remove unused variable Hans Verkuil
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.