summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-03-23 14:03:03 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-05-07 16:47:12 +0200
commit00303f9134c2db5d17bacda541c07d46517485d9 (patch)
tree6027a1454e0cc5512a2fd23e01706667c9e5a15c /drivers
parent[media] dvb-usb: hide unused functions (diff)
downloadlinux-00303f9134c2db5d17bacda541c07d46517485d9.tar.xz
linux-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')
-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);