static void timer_del_locked(QEMUTimerList *timer_list, QEMUTimer *ts)

{

    QEMUTimer **pt, *t;



    ts->expire_time = -1;

    pt = &timer_list->active_timers;

    for(;;) {

        t = *pt;

        if (!t)

            break;

        if (t == ts) {

            *pt = t->next;

            break;

        }

        pt = &t->next;

    }

}

static void timer_del_locked(QEMUTimerList *timer_list, QEMUTimer *ts)

{

    QEMUTimer **pt, *t;



    ts->expire_time = -1;

    pt = &timer_list->active_timers;

    for(;;) {

        t = *pt;

        if (!t)

            break;

        if (t == ts) {

            *pt = t->next;

            break;

        }

        pt = &t->next;

    }

}

static void FUNC_0(QEMUTimerList *VAR_0, QEMUTimer *VAR_1)

{

    QEMUTimer **pt, *t;



    VAR_1->expire_time = -1;

    pt = &VAR_0->active_timers;

    for(;;) {

        t = *pt;

        if (!t)

            break;

        if (t == VAR_1) {

            *pt = t->next;

            break;

        }

        pt = &t->next;

    }

}

static void FUNC_0(QEMUTimerList *VAR_0, QEMUTimer *VAR_1)
{ QEMUTimer **pt, *t; VAR_1->expire_time = -1; pt = &VAR_0->active_timers; for(;;) { t = *pt; if (!t)
break; if (t == VAR_1) { *pt = t->next; break; } pt = &t->next; } }