static void spapr_drc_release(sPAPRDRConnector *drc)

{

    sPAPRDRConnectorClass *drck = SPAPR_DR_CONNECTOR_GET_CLASS(drc);



    drck->release(drc->dev);



    drc->awaiting_release = false;

    g_free(drc->fdt);

    drc->fdt = NULL;

    drc->fdt_start_offset = 0;

    object_property_del(OBJECT(drc), "device", &error_abort);

    drc->dev = NULL;

}

static void spapr_drc_release(sPAPRDRConnector *drc)

{

    sPAPRDRConnectorClass *drck = SPAPR_DR_CONNECTOR_GET_CLASS(drc);



    drck->release(drc->dev);



    drc->awaiting_release = false;

    g_free(drc->fdt);

    drc->fdt = NULL;

    drc->fdt_start_offset = 0;

    object_property_del(OBJECT(drc), "device", &error_abort);

    drc->dev = NULL;

}

static void FUNC_0(sPAPRDRConnector *VAR_0)

{

    sPAPRDRConnectorClass *drck = SPAPR_DR_CONNECTOR_GET_CLASS(VAR_0);



    drck->release(VAR_0->dev);



    VAR_0->awaiting_release = false;

    g_free(VAR_0->fdt);

    VAR_0->fdt = NULL;

    VAR_0->fdt_start_offset = 0;

    object_property_del(OBJECT(VAR_0), "device", &error_abort);

    VAR_0->dev = NULL;

}

static void FUNC_0(sPAPRDRConnector *VAR_0)
{ sPAPRDRConnectorClass *drck = SPAPR_DR_CONNECTOR_GET_CLASS(VAR_0); drck->release(VAR_0->dev); VAR_0->awaiting_release = false; g_free(VAR_0->fdt); VAR_0->fdt = NULL; VAR_0->fdt_start_offset = 0; object_property_del(OBJECT(VAR_0), "device", &error_abort); VAR_0->dev = NULL; }