diff options
Diffstat (limited to 'hw/shpc.c')
-rw-r--r-- | hw/shpc.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -253,7 +253,6 @@ static void shpc_free_devices_in_slot(SHPCDevice *shpc, int slot) ++devfn) { PCIDevice *affected_dev = shpc->sec_bus->devices[devfn]; if (affected_dev) { - object_unparent(OBJECT(affected_dev)); qdev_free(&affected_dev->qdev); } } |