Message ID | 1253287594-12905-5-git-send-email-wolfgang.mauerer@siemens.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index 4455f17..e62a2b0 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -146,7 +146,7 @@ void drive_hot_add(Monitor *mon, const QDict *qdict) { int dom, pci_bus; unsigned slot; - int type, bus; + int type; int success = 0; PCIDevice *dev; DriveInfo *dinfo; @@ -172,7 +172,6 @@ void drive_hot_add(Monitor *mon, const QDict *qdict) return; } type = dinfo->type; - bus = drive_get_max_bus (type); switch (type) { case IF_SCSI: