void qemu_unregister_reset(QEMUResetHandler *func, void *opaque)

{

    QEMUResetEntry *re;



    TAILQ_FOREACH(re, &reset_handlers, entry) {

        if (re->func == func && re->opaque == opaque) {

            TAILQ_REMOVE(&reset_handlers, re, entry);

            qemu_free(re);

            return;

        }

    }

}

void qemu_unregister_reset(QEMUResetHandler *func, void *opaque)

{

    QEMUResetEntry *re;



    TAILQ_FOREACH(re, &reset_handlers, entry) {

        if (re->func == func && re->opaque == opaque) {

            TAILQ_REMOVE(&reset_handlers, re, entry);

            qemu_free(re);

            return;

        }

    }

}

void FUNC_0(QEMUResetHandler *VAR_0, void *VAR_1)

{

    QEMUResetEntry *re;



    TAILQ_FOREACH(re, &reset_handlers, entry) {

        if (re->VAR_0 == VAR_0 && re->VAR_1 == VAR_1) {

            TAILQ_REMOVE(&reset_handlers, re, entry);

            qemu_free(re);

            return;

        }

    }

}

void FUNC_0(QEMUResetHandler *VAR_0, void *VAR_1)
{ QEMUResetEntry *re; TAILQ_FOREACH(re, &reset_handlers, entry) { if (re->VAR_0 == VAR_0 && re->VAR_1 == VAR_1) { TAILQ_REMOVE(&reset_handlers, re, entry); qemu_free(re); return; } } }