Dead structs in dvb-frontends
Subsystems (2)
cover Dead structs in dvb-frontends
From: "Dr. David Alan Gilbert" <[email protected]>
Clean out a bunch of dead structs in dvb-frontends. Build tested only.
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(-)
Signature · 1 line
2.45.1
PATCH 1/3 media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat'
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.
--- drivers/media/dvb-frontends/drx39xyj/drxj.c | 7 ------- 1 file changed, 7 deletions(-)
drivers/media/dvb-frontends/drx39xyj/drxj.c +0 -7
@@ -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;
Signature · 1 line
2.45.1
PATCH 2/3 media: dvb-frontends: stv0910: remove unused struct 'sinit_table'
In reply to [email protected]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.
--- drivers/media/dvb-frontends/stv0910.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/media/dvb-frontends/stv0910.c +0 -5
@@ -119,11 +119,6 @@ struct stv {u8 vth[6 ]; }; -struct sinit_table { -u16 address; -u8 data; -}; -struct slookup {s16 value;u32 reg_value;
Signature · 1 line
2.45.1
PATCH 3/3 media: dvb-frontends: dib7000p: remove unused struct 'i2c_device'
In reply to [email protected]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.
--- drivers/media/dvb-frontends/dib7000p.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/media/dvb-frontends/dib7000p.c +0 -5
@@ -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;
Signature · 1 line
2.45.1