Message ID | 1432294585-5984-18-git-send-email-armbru@redhat.com |
---|---|
State | New |
Headers | show |
On 05/22/2015 05:36 AM, Markus Armbruster wrote: > Superfluous since commit 30f5041 removed it from HMP. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> > --- > monitor.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) Reviewed-by: Eric Blake <eblake@redhat.com>
diff --git a/monitor.c b/monitor.c index 4b397e6..6e9cc8c 100644 --- a/monitor.c +++ b/monitor.c @@ -566,11 +566,7 @@ static void monitor_qapi_event_init(void) static int do_qmp_capabilities(Monitor *mon, const QDict *params, QObject **ret_data) { - /* Will setup QMP capabilities in the future */ - if (monitor_ctrl_mode(mon)) { - mon->qmp.command_mode = 1; - } - + mon->qmp.command_mode = 1; return 0; }
Superfluous since commit 30f5041 removed it from HMP. Signed-off-by: Markus Armbruster <armbru@redhat.com> --- monitor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)