aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-03-23 10:03:03 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-05-07 11:47:12 -0300
commit00303f9134c2db5d17bacda541c07d46517485d9 (patch)
tree6027a1454e0cc5512a2fd23e01706667c9e5a15c /drivers/media/i2c
parent[media] dvb-usb: hide unused functions (diff)
downloadlinux-dev-00303f9134c2db5d17bacda541c07d46517485d9.tar.xz
linux-dev-00303f9134c2db5d17bacda541c07d46517485d9.zip
[media] media: i2c: ths7303: remove redundant assignment on bt
The extraneous assignment on bt is redundant and can be removed. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r--drivers/media/i2c/ths7303.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/ths7303.c b/drivers/media/i2c/ths7303.c
index 5bbfcab01c75..71a31352135c 100644
--- a/drivers/media/i2c/ths7303.c
+++ b/drivers/media/i2c/ths7303.c
@@ -285,7 +285,7 @@ static int ths7303_log_status(struct v4l2_subdev *sd)
v4l2_info(sd, "stream %s\n", state->stream_on ? "On" : "Off");
if (state->bt.pixelclock) {
- struct v4l2_bt_timings *bt = bt = &state->bt;
+ struct v4l2_bt_timings *bt = &state->bt;
u32 frame_width, frame_height;
frame_width = V4L2_DV_BT_FRAME_WIDTH(bt);