From: "Dr. David Alan Gilbert" <[email protected]>
Clean out a bunch of dead structs in dvb-frontends.
Build tested only.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
Dr. David Alan Gilbert (3):
media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat'
media: dvb-frontends: stv0910: remove unused struct 'sinit_table'
media: dvb-frontends: dib7000p: remove unused struct 'i2c_device'
drivers/media/dvb-frontends/dib7000p.c | 5 -----
drivers/media/dvb-frontends/drx39xyj/drxj.c | 7 -------
drivers/media/dvb-frontends/stv0910.c | 5 -----
3 files changed, 17 deletions(-)
--
2.45.1
From: "Dr. David Alan Gilbert" <[email protected]>
'drxjeq_stat' is unused since the original
commit 38b2df95c53b ("[media] drx-j: add a driver for Trident drx-j
frontend").
The name was changed by
commit 57afe2f0bb0c ("[media] drx-j: Don't use CamelCase")
and it was originally DRXJEQStat_t.
Remove it.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
drivers/media/dvb-frontends/drx39xyj/drxj.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index 6fcaf07e1b82..779cce93e94a 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -976,13 +976,6 @@ static struct drx_aud_data drxj_default_aud_data_g = {
/*-----------------------------------------------------------------------------
STRUCTURES
----------------------------------------------------------------------------*/
-struct drxjeq_stat {
- u16 eq_mse;
- u8 eq_mode;
- u8 eq_ctrl;
- u8 eq_stat;
-};
-
/* HI command */
struct drxj_hi_cmd {
u16 cmd;
--
2.45.1
From: "Dr. David Alan Gilbert" <[email protected]>
'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 <[email protected]>
---
drivers/media/dvb-frontends/dib7000p.c | 5 -----
1 file changed, 5 deletions(-)
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;
--
2.45.1
From: "Dr. David Alan Gilbert" <[email protected]>
'sinit_table' has been unused since the original
commit cd21b3349437 ("media: dvb-frontends: add ST STV0910 DVB-S/S2
demodulator frontend driver").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
drivers/media/dvb-frontends/stv0910.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/media/dvb-frontends/stv0910.c b/drivers/media/dvb-frontends/stv0910.c
index e517ff757744..069dec75129c 100644
--- a/drivers/media/dvb-frontends/stv0910.c
+++ b/drivers/media/dvb-frontends/stv0910.c
@@ -119,11 +119,6 @@ struct stv {
u8 vth[6];
};
-struct sinit_table {
- u16 address;
- u8 data;
-};
-
struct slookup {
s16 value;
u32 reg_value;
--
2.45.1