aboutsummaryrefslogtreecommitdiff
path: root/hw/shpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/shpc.c')
-rw-r--r--hw/shpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/shpc.c b/hw/shpc.c
index 6b9884d54..a5baf246f 100644
--- a/hw/shpc.c
+++ b/hw/shpc.c
@@ -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);
}
}