lkml.org 
[lkml]   [2005]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[DVB patch 09/54] core: dvb_demux: use INIT_LIST_HEAD
    From: Andreas Oberritter <obi@linuxtv.org>

    Use INIT_LIST_HEAD for frontend_list.

    Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
    Signed-off-by: Johannes Stezenbach <js@linuxtv.org>

    drivers/media/dvb/dvb-core/dvb_demux.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    --- linux-2.6.13-git4.orig/drivers/media/dvb/dvb-core/dvb_demux.c 2005-09-04 22:27:57.000000000 +0200
    +++ linux-2.6.13-git4/drivers/media/dvb/dvb-core/dvb_demux.c 2005-09-04 22:27:58.000000000 +0200
    @@ -1188,9 +1188,9 @@ int dvb_dmx_init(struct dvb_demux *dvbde
    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;
    --

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-09-05 01:44    [W:0.020 / U:88.764 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site