diff options
-rw-r--r-- | hw/core/qdev.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/core/qdev.c b/hw/core/qdev.c index b1da409eeb..6439a23273 100644 --- a/hw/core/qdev.c +++ b/hw/core/qdev.c @@ -85,10 +85,6 @@ static void bus_add_child(BusState *bus, DeviceState *child) char name[32]; BusChild *kid = g_malloc0(sizeof(*kid)); - if (qdev_hotplug) { - assert(qbus_is_hotpluggable(bus)); - } - kid->index = bus->max_index++; kid->child = child; object_ref(OBJECT(kid->child)); |