diff mbox series

[12/13] dvb_demux.h: remove av7110-private fields

Message ID 20230111105258.547471-13-hverkuil-cisco@xs4all.nl (mailing list archive)
State New, archived
Headers show
Series staging/media: remove most deprecated drivers | expand

Commit Message

Hans Verkuil Jan. 11, 2023, 10:52 a.m. UTC
This driver has been removed, so we can remove these private fields
as well.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
---
 drivers/media/dvb-core/dvb_demux.c | 2 --
 include/media/dvb_demux.h          | 7 -------
 2 files changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/drivers/media/dvb-core/dvb_demux.c b/drivers/media/dvb-core/dvb_demux.c
index 398c86279b5b..b380da460295 100644
--- a/drivers/media/dvb-core/dvb_demux.c
+++ b/drivers/media/dvb-core/dvb_demux.c
@@ -1273,8 +1273,6 @@  int dvb_dmx_init(struct dvb_demux *dvbdemux)
 
 	INIT_LIST_HEAD(&dvbdemux->feed_list);
 
-	dvbdemux->playing = 0;
-	dvbdemux->recording = 0;
 	dvbdemux->tsbufp = 0;
 
 	if (!dvbdemux->check_crc32)
diff --git a/include/media/dvb_demux.h b/include/media/dvb_demux.h
index 3b6aeca7a49e..1580de3dbc80 100644
--- a/include/media/dvb_demux.h
+++ b/include/media/dvb_demux.h
@@ -86,9 +86,6 @@  struct dvb_demux_filter {
 	int index;
 	enum dvb_dmx_state state;
 	enum dvb_dmx_filter_type type;
-
-	/* private: used only by av7110 */
-	u16 hw_handle;
 };
 
 /**
@@ -235,10 +232,6 @@  struct dvb_demux {
 
 	ktime_t speed_last_time; /* for TS speed check */
 	uint32_t speed_pkts_cnt; /* for TS speed check */
-
-	/* private: used only on av7110 */
-	int playing;
-	int recording;
 };
 
 /**