void spapr_clear_pending_events(sPAPRMachineState *spapr)

{

    sPAPREventLogEntry *entry = NULL;



    QTAILQ_FOREACH(entry, &spapr->pending_events, next) {

        QTAILQ_REMOVE(&spapr->pending_events, entry, next);

        g_free(entry->extended_log);

        g_free(entry);

    }

}

void spapr_clear_pending_events(sPAPRMachineState *spapr)

{

    sPAPREventLogEntry *entry = NULL;



    QTAILQ_FOREACH(entry, &spapr->pending_events, next) {

        QTAILQ_REMOVE(&spapr->pending_events, entry, next);

        g_free(entry->extended_log);

        g_free(entry);

    }

}

void FUNC_0(sPAPRMachineState *VAR_0)

{

    sPAPREventLogEntry *entry = NULL;



    QTAILQ_FOREACH(entry, &VAR_0->pending_events, next) {

        QTAILQ_REMOVE(&VAR_0->pending_events, entry, next);

        g_free(entry->extended_log);

        g_free(entry);

    }

}

void FUNC_0(sPAPRMachineState *VAR_0)
{ sPAPREventLogEntry *entry = NULL; QTAILQ_FOREACH(entry, &VAR_0->pending_events, next) { QTAILQ_REMOVE(&VAR_0->pending_events, entry, next); g_free(entry->extended_log); g_free(entry); } }