void qemu_bh_cancel(QEMUBH *bh)

{

    QEMUBH **pbh;

    if (bh->scheduled) {

        pbh = &first_bh;

        while (*pbh != bh)

            pbh = &(*pbh)->next;

        *pbh = bh->next;

        bh->scheduled = 0;

    }

}

void qemu_bh_cancel(QEMUBH *bh)

{

    QEMUBH **pbh;

    if (bh->scheduled) {

        pbh = &first_bh;

        while (*pbh != bh)

            pbh = &(*pbh)->next;

        *pbh = bh->next;

        bh->scheduled = 0;

    }

}

        pbh = &first_bh;         *pbh = bh->next;         bh->scheduled = 0;     QEMUBH **pbh;     if (bh->scheduled) {         pbh = &first_bh;         while (*pbh != bh)             pbh = &(*pbh)->next;         *pbh = bh->next;         bh->scheduled = 0;
void FUNC_0(QEMUBH *VAR_0)

{

    QEMUBH **pbh;

    if (VAR_0->scheduled) {

        pbh = &first_bh;

        while (*pbh != VAR_0)

            pbh = &(*pbh)->next;

        *pbh = VAR_0->next;

        VAR_0->scheduled = 0;

    }

}

void FUNC_0(QEMUBH *VAR_0)
{ QEMUBH **pbh; if (VAR_0->scheduled) { pbh = &first_bh; while (*pbh != VAR_0)
pbh = &(*pbh)->next; *pbh = VAR_0->next; VAR_0->scheduled = 0; } }