Browse Source

[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>
Colin Ian King 9 năm trước cách đây
mục cha
commit
00303f9134
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/media/i2c/ths7303.c

+ 1 - 1
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);