Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_monitor.c | 29 -----------------------------
src/qemu/qemu_monitor.h | 4 ----
2 files changed, 33 deletions(-)
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index 551b65e778..40f2997cb6 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -3393,35 +3393,6 @@ qemuMonitorGetAllBlockJobInfo(qemuMonitorPtr mon,
}
-/**
- * qemuMonitorGetBlockJobInfo:
- * Parse Block Job information, and populate info for the named device.
- * Return 1 if info available, 0 if device has no block job, and -1 on error.
- */
-int
-qemuMonitorGetBlockJobInfo(qemuMonitorPtr mon,
- const char *alias,
- qemuMonitorBlockJobInfoPtr info)
-{
- GHashTable *all;
- qemuMonitorBlockJobInfoPtr data;
- int ret = 0;
-
- VIR_DEBUG("alias=%s, info=%p", alias, info);
-
- if (!(all = qemuMonitorGetAllBlockJobInfo(mon, true)))
- return -1;
-
- if ((data = virHashLookup(all, alias))) {
- *info = *data;
- ret = 1;
- }
-
- virHashFree(all);
- return ret;
-}
-
-
int
qemuMonitorJobDismiss(qemuMonitorPtr mon,
const char *jobname)
diff --git a/src/qemu/qemu_monitor.h b/src/qemu/qemu_monitor.h
index a2f28f9492..3a09b995ce 100644
--- a/src/qemu/qemu_monitor.h
+++ b/src/qemu/qemu_monitor.h
@@ -1123,10 +1123,6 @@ struct _qemuMonitorBlockJobInfo {
GHashTable *qemuMonitorGetAllBlockJobInfo(qemuMonitorPtr mon,
bool rawjobname);
-int qemuMonitorGetBlockJobInfo(qemuMonitorPtr mon,
- const char *device,
- qemuMonitorBlockJobInfoPtr info)
- ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3);
int qemuMonitorJobDismiss(qemuMonitorPtr mon,
const char *jobname)
--
2.28.0