monitor: Drop do_qmp_capabilities()'s superfluous QMP check
Superfluous since commit 30f5041 removed it from HMP. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
74358f2a16
commit
6a50636f35
@ -566,11 +566,7 @@ static void monitor_qapi_event_init(void)
|
|||||||
static int do_qmp_capabilities(Monitor *mon, const QDict *params,
|
static int do_qmp_capabilities(Monitor *mon, const QDict *params,
|
||||||
QObject **ret_data)
|
QObject **ret_data)
|
||||||
{
|
{
|
||||||
/* Will setup QMP capabilities in the future */
|
mon->qmp.command_mode = 1;
|
||||||
if (monitor_ctrl_mode(mon)) {
|
|
||||||
mon->qmp.command_mode = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user