summaryrefslogtreecommitdiffstats
path: root/include/sysemu/blockdev.h
diff options
context:
space:
mode:
authorMarkus Armbruster2014-10-07 13:59:09 +0200
committerKevin Wolf2014-10-20 13:41:26 +0200
commitb9fe8a7a12f18adebba5616a3e9f44143a78c07e (patch)
treed2c4505d21575b0242f28107db529de8db246fcf /include/sysemu/blockdev.h
parentblock: Make BlockBackend own its BlockDriverState (diff)
downloadqemu-b9fe8a7a12f18adebba5616a3e9f44143a78c07e.tar.gz
qemu-b9fe8a7a12f18adebba5616a3e9f44143a78c07e.tar.xz
qemu-b9fe8a7a12f18adebba5616a3e9f44143a78c07e.zip
blockdev: Eliminate drive_del()
drive_del() has become a trivial wrapper around blk_unref(). Get rid of it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/sysemu/blockdev.h')
-rw-r--r--include/sysemu/blockdev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/blockdev.h b/include/sysemu/blockdev.h
index ccd4bf487e..439844d6dd 100644
--- a/include/sysemu/blockdev.h
+++ b/include/sysemu/blockdev.h
@@ -64,7 +64,6 @@ QemuOpts *drive_def(const char *optstr);
QemuOpts *drive_add(BlockInterfaceType type, int index, const char *file,
const char *optstr);
DriveInfo *drive_new(QemuOpts *arg, BlockInterfaceType block_default_type);
-void drive_del(DriveInfo *dinfo);
/* device-hotplug */