Commit db574d7d authored by Andreas Oberritter's avatar Andreas Oberritter Committed by Linus Torvalds

[PATCH] dvb: core: dvb_demux: use INIT_LIST_HEAD

Use INIT_LIST_HEAD for frontend_list.
Signed-off-by: default avatarAndreas Oberritter <obi@linuxtv.org>
Signed-off-by: default avatarJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5d2cd163
...@@ -1188,9 +1188,9 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux) ...@@ -1188,9 +1188,9 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux)
dvbdemux->feed[i].state = DMX_STATE_FREE; dvbdemux->feed[i].state = DMX_STATE_FREE;
dvbdemux->feed[i].index = i; dvbdemux->feed[i].index = i;
} }
dvbdemux->frontend_list.next=
dvbdemux->frontend_list.prev= INIT_LIST_HEAD(&dvbdemux->frontend_list);
&dvbdemux->frontend_list;
for (i=0; i<DMX_TS_PES_OTHER; i++) { for (i=0; i<DMX_TS_PES_OTHER; i++) {
dvbdemux->pesfilter[i] = NULL; dvbdemux->pesfilter[i] = NULL;
dvbdemux->pids[i] = 0xffff; dvbdemux->pids[i] = 0xffff;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment