diff mbox series

[3/4] media: i2c: tw9910: remove unused strust 'regval_list'

Message ID 20240524164851.184467-4-linux@treblig.org
State Accepted
Commit 12e14941c169c5b81e20eecedd43694c313b449e
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' has been unused since
commit 398994c1e104 ("V4L/DVB (13666): tw9910: modify V/H outpit pin
setting to use VALID").

Remove it.

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

Patch

diff --git a/drivers/media/i2c/tw9910.c b/drivers/media/i2c/tw9910.c
index 905af98c7d53..6dffaaa9ed56 100644
--- a/drivers/media/i2c/tw9910.c
+++ b/drivers/media/i2c/tw9910.c
@@ -212,11 +212,6 @@ 
  * structure
  */
 
-struct regval_list {
-	unsigned char reg_num;
-	unsigned char value;
-};
-
 struct tw9910_scale_ctrl {
 	char           *name;
 	unsigned short  width;