* [PATCH 0/3] Dead structs in dvb-frontends
@ 2024-05-24 0:29 linux
2024-05-24 0:29 ` [PATCH 1/3] media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat' linux
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: linux @ 2024-05-24 0:29 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
Clean out a bunch of dead structs in dvb-frontends.
Build tested only.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
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
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 1/3] media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat'
2024-05-24 0:29 [PATCH 0/3] Dead structs in dvb-frontends linux
@ 2024-05-24 0:29 ` linux
2024-05-24 0:29 ` [PATCH 2/3] media: dvb-frontends: stv0910: remove unused struct 'sinit_table' linux
2024-05-24 0:29 ` [PATCH 3/3] media: dvb-frontends: dib7000p: remove unused struct 'i2c_device' linux
2 siblings, 0 replies; 4+ messages in thread
From: linux @ 2024-05-24 0:29 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'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 <linux@treblig.org>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/3] media: dvb-frontends: stv0910: remove unused struct 'sinit_table'
2024-05-24 0:29 [PATCH 0/3] Dead structs in dvb-frontends linux
2024-05-24 0:29 ` [PATCH 1/3] media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat' linux
@ 2024-05-24 0:29 ` linux
2024-05-24 0:29 ` [PATCH 3/3] media: dvb-frontends: dib7000p: remove unused struct 'i2c_device' linux
2 siblings, 0 replies; 4+ messages in thread
From: linux @ 2024-05-24 0:29 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
From: "Dr. David Alan Gilbert" <linux@treblig.org>
'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 <linux@treblig.org>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 3/3] media: dvb-frontends: dib7000p: remove unused struct 'i2c_device'
2024-05-24 0:29 [PATCH 0/3] Dead structs in dvb-frontends linux
2024-05-24 0:29 ` [PATCH 1/3] media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat' linux
2024-05-24 0:29 ` [PATCH 2/3] media: dvb-frontends: stv0910: remove unused struct 'sinit_table' linux
@ 2024-05-24 0:29 ` linux
2 siblings, 0 replies; 4+ messages in thread
From: linux @ 2024-05-24 0:29 UTC (permalink / raw)
To: mchehab; +Cc: linux-media, linux-kernel, Dr. David Alan Gilbert
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 --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
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-05-24 0:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-24 0:29 [PATCH 0/3] Dead structs in dvb-frontends linux
2024-05-24 0:29 ` [PATCH 1/3] media: dvb-frontends: drx39xyj: remove unused struct 'drxjeq_stat' linux
2024-05-24 0:29 ` [PATCH 2/3] media: dvb-frontends: stv0910: remove unused struct 'sinit_table' linux
2024-05-24 0:29 ` [PATCH 3/3] media: dvb-frontends: dib7000p: remove unused struct 'i2c_device' linux
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox