aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'blockdev.c')
-rw-r--r--blockdev.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/blockdev.c b/blockdev.c
index 24d40f95b1..a00461df7b 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -284,17 +284,6 @@ void drive_del(DriveInfo *dinfo)
blk_unref(blk);
}
-void drive_info_del(DriveInfo *dinfo)
-{
- if (!dinfo) {
- return;
- }
- qemu_opts_del(dinfo->opts);
- g_free(dinfo->id);
- g_free(dinfo->serial);
- g_free(dinfo);
-}
-
typedef struct {
QEMUBH *bh;
BlockDriverState *bs;