static void device_unparent(Object *obj)

{

    DeviceState *dev = DEVICE(obj);



    if (dev->parent_bus != NULL) {

        bus_remove_child(dev->parent_bus, dev);

    }

}

static void device_unparent(Object *obj)

{

    DeviceState *dev = DEVICE(obj);



    if (dev->parent_bus != NULL) {

        bus_remove_child(dev->parent_bus, dev);

    }

}

static void FUNC_0(Object *VAR_0)

{

    DeviceState *dev = DEVICE(VAR_0);



    if (dev->parent_bus != NULL) {

        bus_remove_child(dev->parent_bus, dev);

    }

}

static void FUNC_0(Object *VAR_0)
{ DeviceState *dev = DEVICE(VAR_0); if (dev->parent_bus != NULL) { bus_remove_child(dev->parent_bus, dev); } }