From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YToGm-0000Ej-9A for qemu-devel@nongnu.org; Fri, 06 Mar 2015 04:10:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YToGf-0006Rs-HJ for qemu-devel@nongnu.org; Fri, 06 Mar 2015 04:10:08 -0500 From: Markus Armbruster Date: Fri, 6 Mar 2015 10:09:58 +0100 Message-Id: <1425632998-616-3-git-send-email-armbru@redhat.com> In-Reply-To: <1425632998-616-1-git-send-email-armbru@redhat.com> References: <1425632998-616-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] qmp: Drop unused .user_print from command definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, lcapitulino@redhat.com .user_print isn't used with QMP commands, only with HMP commands. Copied over when QMP got its own command table in commit 82a56f0. Most of them have been dropped since, but a few stragglers remain. Drop them. Signed-off-by: Markus Armbruster --- qmp-commands.hx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index a85d847..2c05e87 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -276,7 +276,6 @@ EQMP .args_type = "device:O", .params = "driver[,prop=value][,...]", .help = "add device, like -device on the command line", - .user_print = monitor_user_noop, .mhandler.cmd_new = do_device_add, }, @@ -757,7 +756,6 @@ EQMP .args_type = "protocol:s,hostname:s,port:i?,tls-port:i?,cert-subject:s?", .params = "protocol hostname port tls-port cert-subject", .help = "send migration info to spice/vnc client", - .user_print = monitor_user_noop, .mhandler.cmd_async = client_migrate_info, .flags = MONITOR_CMD_ASYNC, }, @@ -793,7 +791,6 @@ EQMP .args_type = "paging:b,protocol:s,begin:i?,end:i?,format:s?", .params = "-p protocol [begin] [length] [format]", .help = "dump guest memory to file", - .user_print = monitor_user_noop, .mhandler.cmd_new = qmp_marshal_input_dump_guest_memory, }, @@ -1833,7 +1830,6 @@ EQMP .args_type = "", .params = "", .help = "enable QMP capabilities", - .user_print = monitor_user_noop, .mhandler.cmd_new = do_qmp_capabilities, }, -- 1.9.3