[PATCH v2 04/21] media: i2c: it6625: drop unused bus field from struct it6625
From: Hermes Wu via B4 Relay
Date: Wed Sep 30 2026 - 02:44:04 EST
From: Hermes Wu <Hermes.wu@xxxxxxxxxx>
struct it6625::bus has no reader anywhere in the driver -- the mipi_csi2
configuration is produced fresh in it6625_get_mbus_config() and parsed
locally in it6625_parse_endpoint(), neither of which touches this field.
Signed-off-by: Hermes Wu <Hermes.wu@xxxxxxxxxx>
---
drivers/media/i2c/it6625.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/media/i2c/it6625.c b/drivers/media/i2c/it6625.c
index 7cc2ba0d26b8dbc439807e350434137f102d9d9f..b09b331b20364a8e169429bb309d1112ec83d919 100644
--- a/drivers/media/i2c/it6625.c
+++ b/drivers/media/i2c/it6625.c
@@ -268,7 +268,6 @@ struct it6625 {
struct mutex if_state_lock;
struct v4l2_subdev sd;
- struct v4l2_mbus_config_mipi_csi2 bus;
struct video_device *vdev;
struct media_pad pad;
struct v4l2_ctrl_handler hdl;
--
2.34.1