]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi/qmp-registry.c
Merge remote-tracking branch 'remotes/kraxel/tags/audio-20190312-pull-request' into...
[mirror_qemu.git] / qapi / qmp-registry.c
index 5af484cd9afd16fd2cc608b21a1a514b543b67ff..ca00f74795ba8c00f5e5d415f7d39ad08e0b1fba 100644 (file)
@@ -27,14 +27,6 @@ void qmp_register_command(QmpCommandList *cmds, const char *name,
     QTAILQ_INSERT_TAIL(cmds, cmd, node);
 }
 
-void qmp_unregister_command(QmpCommandList *cmds, const char *name)
-{
-    QmpCommand *cmd = qmp_find_command(cmds, name);
-
-    QTAILQ_REMOVE(cmds, cmd, node);
-    g_free(cmd);
-}
-
 QmpCommand *qmp_find_command(QmpCommandList *cmds, const char *name)
 {
     QmpCommand *cmd;