[media] media: i2c: ths7303: remove redundant assignment on bt
authorColin Ian King <colin.king@canonical.com>
Wed, 23 Mar 2016 13:03:03 +0000 (10:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 7 May 2016 14:47:12 +0000 (11:47 -0300)
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>
drivers/media/i2c/ths7303.c

index 5bbfcab..71a3135 100644 (file)
@@ -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);