diff mbox series

[1/4] media: i2c: dw9768: remove unused struct 'regval_list'

Message ID 20240524164851.184467-2-linux@treblig.org
State Accepted
Commit 3b11a323b6082542430637140cd75c7d119b9a22
Headers show
Series Dead structs in media/i2c | expand

Commit Message

Dr. David Alan Gilbert May 24, 2024, 4:48 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'regval_list' is unused since the original
commit 859891228e56 ("media: i2c: dw9768: Add DW9768 VCM driver")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/media/i2c/dw9768.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/i2c/dw9768.c b/drivers/media/i2c/dw9768.c
index daabbece8c7e..18ef2b35c9aa 100644
--- a/drivers/media/i2c/dw9768.c
+++ b/drivers/media/i2c/dw9768.c
@@ -115,11 +115,6 @@  static inline struct dw9768 *sd_to_dw9768(struct v4l2_subdev *subdev)
 	return container_of(subdev, struct dw9768, sd);
 }
 
-struct regval_list {
-	u8 reg_num;
-	u8 value;
-};
-
 struct dw9768_aac_mode_ot_multi {
 	u32 aac_mode_enum;
 	u32 ot_multi_base100;