static void bdrv_delete(BlockDriverState *bs)

{

    assert(!bs->job);

    assert(bdrv_op_blocker_is_empty(bs));

    assert(!bs->refcnt);

    assert(QLIST_EMPTY(&bs->dirty_bitmaps));



    bdrv_close(bs);



    /* remove from list, if necessary */

    bdrv_make_anon(bs);



    g_free(bs);

}

static void bdrv_delete(BlockDriverState *bs)

{

    assert(!bs->job);

    assert(bdrv_op_blocker_is_empty(bs));

    assert(!bs->refcnt);

    assert(QLIST_EMPTY(&bs->dirty_bitmaps));



    bdrv_close(bs);



    

    bdrv_make_anon(bs);



    g_free(bs);

}

static void FUNC_0(BlockDriverState *VAR_0)

{

    assert(!VAR_0->job);

    assert(bdrv_op_blocker_is_empty(VAR_0));

    assert(!VAR_0->refcnt);

    assert(QLIST_EMPTY(&VAR_0->dirty_bitmaps));



    bdrv_close(VAR_0);



    

    bdrv_make_anon(VAR_0);



    g_free(VAR_0);

}

static void FUNC_0(BlockDriverState *VAR_0)
{ assert(!VAR_0->job); assert(bdrv_op_blocker_is_empty(VAR_0)); assert(!VAR_0->refcnt); assert(QLIST_EMPTY(&VAR_0->dirty_bitmaps)); bdrv_close(VAR_0); bdrv_make_anon(VAR_0); g_free(VAR_0); }