]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/xen_platform.c
RTC: Remove the logic to update time format when DM bit changed
[mirror_qemu.git] / hw / xen_platform.c
index c1fe984f07dbbac9a073e92d3891bb71b2fc5b12..0d6c2ff8c35a1d751843402e6b2bacbb039cdafe 100644 (file)
@@ -87,9 +87,6 @@ static void unplug_nic(PCIBus *b, PCIDevice *d, void *o)
 {
     if (pci_get_word(d->config + PCI_CLASS_DEVICE) ==
             PCI_CLASS_NETWORK_ETHERNET) {
-        /* Until qdev_free includes a call to object_unparent, we call it here
-         */
-        object_unparent(&d->qdev.parent_obj);
         qdev_free(&d->qdev);
     }
 }