[PATCH] [media] media: i2c: ths7303: remove redundant assignment on bt

From: Colin King
Date: Wed Mar 23 2016 - 09:03:18 EST


From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

The extraneous assignment on bt is redundant and can be removed.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/media/i2c/ths7303.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/ths7303.c b/drivers/media/i2c/ths7303.c
index 5bbfcab..71a3135 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);
--
2.7.3