]> git.proxmox.com Git - qemu.git/blobdiff - hmp.c
virtio-serial: cleanup: use QOM casts.
[qemu.git] / hmp.c
diff --git a/hmp.c b/hmp.c
index dbe9b9043e8c8dbd994682a0063bf9150a45c4da..2e35b3da4e55e2cbefcfa5a294ae091c3eb5d179 100644 (file)
--- a/hmp.c
+++ b/hmp.c
@@ -750,14 +750,6 @@ void hmp_ringbuf_read(Monitor *mon, const QDict *qdict)
     g_free(data);
 }
 
-void hmp_query_cpu_max(Monitor *mon, const QDict *qdict)
-{
-    int cpu_max;
-
-    cpu_max = qmp_query_cpu_max(NULL);
-    monitor_printf(mon, "Maximum number of CPUs is %d\n", cpu_max);
-}
-
 static void hmp_cont_cb(void *opaque, int err)
 {
     if (!err) {