static void nic_cleanup(NetClientState *nc)

{

    dp8393xState *s = qemu_get_nic_opaque(nc);



    memory_region_del_subregion(s->address_space, &s->mmio);

    memory_region_destroy(&s->mmio);



    timer_del(s->watchdog);

    timer_free(s->watchdog);



    g_free(s);

}

static void nic_cleanup(NetClientState *nc)

{

    dp8393xState *s = qemu_get_nic_opaque(nc);



    memory_region_del_subregion(s->address_space, &s->mmio);

    memory_region_destroy(&s->mmio);



    timer_del(s->watchdog);

    timer_free(s->watchdog);



    g_free(s);

}

static void FUNC_0(NetClientState *VAR_0)

{

    dp8393xState *s = qemu_get_nic_opaque(VAR_0);



    memory_region_del_subregion(s->address_space, &s->mmio);

    memory_region_destroy(&s->mmio);



    timer_del(s->watchdog);

    timer_free(s->watchdog);



    g_free(s);

}

static void FUNC_0(NetClientState *VAR_0)
{ dp8393xState *s = qemu_get_nic_opaque(VAR_0); memory_region_del_subregion(s->address_space, &s->mmio); memory_region_destroy(&s->mmio); timer_del(s->watchdog); timer_free(s->watchdog); g_free(s); }