summaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2012-11-22 15:16:36 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2012-12-07 12:34:12 +0100
commit4dbd84e26f53d3283baa463f390f9623e8913e8f (patch)
tree40de5fd5f4e8bef6ec036f90761f325f97f77486 /sysemu.h
parent036f0f8356936dba36b952c16f477b3f04f54e37 (diff)
downloadqemu-4dbd84e26f53d3283baa463f390f9623e8913e8f.tar.gz
Clean up pci_drive_hot_add()'s use of BlockInterfaceType
pci_drive_hot_add() parameter type has the wrong type: int instead of BlockInterfaceType. It's actually redundant, so we can just drop it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysemu.h b/sysemu.h
index f5ac664067..c1b370b781 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -145,8 +145,7 @@ extern unsigned int nb_prom_envs;
/* pci-hotplug */
void pci_device_hot_add(Monitor *mon, const QDict *qdict);
-int pci_drive_hot_add(Monitor *mon, const QDict *qdict,
- DriveInfo *dinfo, int type);
+int pci_drive_hot_add(Monitor *mon, const QDict *qdict, DriveInfo *dinfo);
void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict);
/* generic hotplug */