diff options
author | Andreas Oberritter <devnull@localhost> | 2005-08-12 15:43:50 +0000 |
---|---|---|
committer | Andreas Oberritter <devnull@localhost> | 2005-08-12 15:43:50 +0000 |
commit | 60474ee64509dfb8e071ac74aefb6119675e97f2 (patch) | |
tree | 5a3a712eed613bc411e08b7dac583f562c32ddc1 /linux/drivers/media/dvb/dvb-core | |
parent | c9d3ffb0ddc4c089e148930b5e0eb7653293f401 (diff) | |
download | mediapointer-dvb-s2-60474ee64509dfb8e071ac74aefb6119675e97f2.tar.gz mediapointer-dvb-s2-60474ee64509dfb8e071ac74aefb6119675e97f2.tar.bz2 |
Use INIT_LIST_HEAD for frontend_list.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/dvb_demux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_demux.c b/linux/drivers/media/dvb/dvb-core/dvb_demux.c index b9cb671b9..528ca463a 100644 --- a/linux/drivers/media/dvb/dvb-core/dvb_demux.c +++ b/linux/drivers/media/dvb/dvb-core/dvb_demux.c @@ -1188,9 +1188,9 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux) dvbdemux->feed[i].state = DMX_STATE_FREE; dvbdemux->feed[i].index = i; } - dvbdemux->frontend_list.next= - dvbdemux->frontend_list.prev= - &dvbdemux->frontend_list; + + INIT_LIST_HEAD(&dvbdemux->frontend_list); + for (i=0; i<DMX_TS_PES_OTHER; i++) { dvbdemux->pesfilter[i] = NULL; dvbdemux->pids[i] = 0xffff; |