aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-10-21 15:25:42 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:41 -0500
commit9ad4531e1e00b996ba55de04d6ecfb4d02a9fd7c (patch)
treeba077d0f67589e920591e9f269d10a1f450050fe /hw/acpi.c
parent1cc33683c8952c62343e06cceffba5c7990e3b7b (diff)
kill dead nic unplug code.
Cleanup on unplug happens via qdev->exit() callback now. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/acpi.c')
-rw-r--r--hw/acpi.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/acpi.c b/hw/acpi.c
index d73aee99ae..dcc2c862d3 100644
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -702,9 +702,6 @@ static void pciej_write(void *opaque, uint32_t addr, uint32_t val)
QLIST_FOREACH_SAFE(qdev, &bus->children, sibling, next) {
dev = DO_UPCAST(PCIDevice, qdev, qdev);
if (PCI_SLOT(dev->devfn) == slot) {
-#if defined (TARGET_I386)
- pci_device_hot_remove_success(dev);
-#endif
qdev_free(qdev);
}
}