diff mbox series

[3/3] media: dvb-frontends: dib7000p: remove unused struct 'i2c_device'

Message ID 20240524002916.444598-4-linux@treblig.org
State Accepted
Commit c9230ee9251ecece02c4813d3c8b34e1501dc1bb
Headers show
Series Dead structs in dvb-frontends | expand

Commit Message

Dr. David Alan Gilbert May 24, 2024, 12:29 a.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'i2c_device' was added by the original
commit 713d54a8bd81 ("[media] DiB7090: add support for the dib7090
based")
but is unused.

Remove it.

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

Patch

diff --git a/drivers/media/dvb-frontends/dib7000p.c b/drivers/media/dvb-frontends/dib7000p.c
index 444fe1c4bf2d..c5582d4fa5be 100644
--- a/drivers/media/dvb-frontends/dib7000p.c
+++ b/drivers/media/dvb-frontends/dib7000p.c
@@ -32,11 +32,6 @@  MODULE_PARM_DESC(buggy_sfn_workaround, "Enable work-around for buggy SFNs (defau
 		       __func__, ##arg);				\
 } while (0)
 
-struct i2c_device {
-	struct i2c_adapter *i2c_adap;
-	u8 i2c_addr;
-};
-
 struct dib7000p_state {
 	struct dvb_frontend demod;
 	struct dib7000p_config cfg;