summaryrefslogtreecommitdiffstats
path: root/include/qapi/qmp/dispatch.h
diff options
context:
space:
mode:
authorMarc-André Lureau2019-02-14 16:22:48 +0100
committerMarkus Armbruster2019-02-18 14:44:05 +0100
commit0b69f6f72ce47a37a749b056b6d5ec64c61f11e8 (patch)
tree017b6e684751dccd15f5e4c5269c8425ebeaefed /include/qapi/qmp/dispatch.h
parentqapi: make query-cpu-definitions depend on specific targets (diff)
downloadqemu-0b69f6f72ce47a37a749b056b6d5ec64c61f11e8.tar.gz
qemu-0b69f6f72ce47a37a749b056b6d5ec64c61f11e8.tar.xz
qemu-0b69f6f72ce47a37a749b056b6d5ec64c61f11e8.zip
qapi: remove qmp_unregister_command()
This command is no longer needed, the schema has compile-time configuration conditions. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190214152251.2073-16-armbru@redhat.com>
Diffstat (limited to 'include/qapi/qmp/dispatch.h')
-rw-r--r--include/qapi/qmp/dispatch.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qapi/qmp/dispatch.h b/include/qapi/qmp/dispatch.h
index 68a528a9aa..9aa426a398 100644
--- a/include/qapi/qmp/dispatch.h
+++ b/include/qapi/qmp/dispatch.h
@@ -39,7 +39,6 @@ typedef QTAILQ_HEAD(QmpCommandList, QmpCommand) QmpCommandList;
void qmp_register_command(QmpCommandList *cmds, const char *name,
QmpCommandFunc *fn, QmpCommandOptions options);
-void qmp_unregister_command(QmpCommandList *cmds, const char *name);
QmpCommand *qmp_find_command(QmpCommandList *cmds, const char *name);
void qmp_disable_command(QmpCommandList *cmds, const char *name);
void qmp_enable_command(QmpCommandList *cmds, const char *name);