diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2005-09-09 16:02:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:37 -0400 |
commit | db574d7d6e38fe37bbb97e2b0a0363b5d2ffa203 (patch) | |
tree | 46f7ec4e2bea5a3727714fd163f624010c653cfe /drivers/media/dvb | |
parent | 5d2cd1631e97f5eb9c8666ff9cd8011cd5c12e7d (diff) |
[PATCH] dvb: core: dvb_demux: use INIT_LIST_HEAD
Use INIT_LIST_HEAD for frontend_list.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_demux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_demux.c b/drivers/media/dvb/dvb-core/dvb_demux.c index b9cb671b938c..528ca463a6dd 100644 --- a/drivers/media/dvb/dvb-core/dvb_demux.c +++ b/drivers/media/dvb/dvb-core/dvb_demux.c | |||
@@ -1188,9 +1188,9 @@ int dvb_dmx_init(struct dvb_demux *dvbdemux) | |||
1188 | dvbdemux->feed[i].state = DMX_STATE_FREE; | 1188 | dvbdemux->feed[i].state = DMX_STATE_FREE; |
1189 | dvbdemux->feed[i].index = i; | 1189 | dvbdemux->feed[i].index = i; |
1190 | } | 1190 | } |
1191 | dvbdemux->frontend_list.next= | 1191 | |
1192 | dvbdemux->frontend_list.prev= | 1192 | INIT_LIST_HEAD(&dvbdemux->frontend_list); |
1193 | &dvbdemux->frontend_list; | 1193 | |
1194 | for (i=0; i<DMX_TS_PES_OTHER; i++) { | 1194 | for (i=0; i<DMX_TS_PES_OTHER; i++) { |
1195 | dvbdemux->pesfilter[i] = NULL; | 1195 | dvbdemux->pesfilter[i] = NULL; |
1196 | dvbdemux->pids[i] = 0xffff; | 1196 | dvbdemux->pids[i] = 0xffff; |