diff mbox series

[4/4] media: i2c: adv7511: remove unused struct 'i2c_reg_value'

Message ID 20240524164851.184467-5-linux@treblig.org
State Accepted
Commit 6062bf32ff3fb89361bba93eda9377ad18d45a25
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>

'i2c_reg_value' is unused since the original
commit 5a544cce2177 ("[media] adv7511: add new video encoder").

Remove it.

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

Patch

diff --git a/drivers/media/i2c/adv7511-v4l2.c b/drivers/media/i2c/adv7511-v4l2.c
index 79946e9c7401..261871be833f 100644
--- a/drivers/media/i2c/adv7511-v4l2.c
+++ b/drivers/media/i2c/adv7511-v4l2.c
@@ -62,11 +62,6 @@  MODULE_LICENSE("GPL v2");
 **********************************************************************
 */
 
-struct i2c_reg_value {
-	unsigned char reg;
-	unsigned char value;
-};
-
 struct adv7511_state_edid {
 	/* total number of blocks */
 	u32 blocks;