From: Dr. David Alan Gilbert Date: Fri, 24 May 2024 00:29:16 +0000 (+0100) Subject: media: dvb-frontends: dib7000p: remove unused struct 'i2c_device' X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c9230ee9251ecece02c4813d3c8b34e1501dc1bb;p=users%2Fjedix%2Flinux-maple.git media: dvb-frontends: dib7000p: remove unused struct 'i2c_device' '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 Signed-off-by: Hans Verkuil --- 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;