static void qxl_destroy_primary(PCIQXLDevice *d)

{

    if (d->mode == QXL_MODE_UNDEFINED) {

        return;

    }



    dprint(d, 1, "%s\n", __FUNCTION__);



    d->mode = QXL_MODE_UNDEFINED;


    d->ssd.worker->destroy_primary_surface(d->ssd.worker, 0);


}
static void qxl_destroy_primary(PCIQXLDevice *d)

{

    if (d->mode == QXL_MODE_UNDEFINED) {

        return;

    }



    dprint(d, 1, "%s\n", __FUNCTION__);



    d->mode = QXL_MODE_UNDEFINED;


    d->ssd.worker->destroy_primary_surface(d->ssd.worker, 0);


}
static void FUNC_0(PCIQXLDevice *VAR_0)

{

    if (VAR_0->mode == QXL_MODE_UNDEFINED) {

        return;

    }



    dprint(VAR_0, 1, "%s\n", __FUNCTION__);



    VAR_0->mode = QXL_MODE_UNDEFINED;


    VAR_0->ssd.worker->destroy_primary_surface(VAR_0->ssd.worker, 0);


}
static void FUNC_0(PCIQXLDevice *VAR_0)
{ if (VAR_0->mode == QXL_MODE_UNDEFINED) { return; } dprint(VAR_0, 1, "%s\n", __FUNCTION__); VAR_0->mode = QXL_MODE_UNDEFINED; VAR_0->ssd.worker->destroy_primary_surface(VAR_0->ssd.worker, 0); }