From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=39682 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwKxj-0000gi-As for qemu-devel@nongnu.org; Thu, 16 Sep 2010 16:21:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwKxg-0001TJ-UR for qemu-devel@nongnu.org; Thu, 16 Sep 2010 16:21:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49862) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwKxg-0001TC-Gx for qemu-devel@nongnu.org; Thu, 16 Sep 2010 16:21:40 -0400 From: Luiz Capitulino Date: Thu, 16 Sep 2010 17:21:00 -0300 Message-Id: <1284668464-15981-15-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1284668464-15981-1-git-send-email-lcapitulino@redhat.com> References: <1284668464-15981-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 14/18] Monitor: Drop monitor_cmd_user_only() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, armbru@redhat.com This function was only needed when QMP and HMP were sharing dispatch tables, this is no longer true so just drop it. Signed-off-by: Luiz Capitulino --- monitor.c | 5 ----- monitor.h | 1 - 2 files changed, 0 insertions(+), 6 deletions(-) diff --git a/monitor.c b/monitor.c index ce3e5b5..3193b93 100644 --- a/monitor.c +++ b/monitor.c @@ -340,11 +340,6 @@ static inline bool monitor_handler_is_async(const mon_cmd_t *cmd) return cmd->flags & MONITOR_CMD_ASYNC; } -static inline bool monitor_cmd_user_only(const mon_cmd_t *cmd) -{ - return (cmd->flags & MONITOR_CMD_USER_ONLY); -} - static inline int monitor_has_error(const Monitor *mon) { return mon->error != NULL; diff --git a/monitor.h b/monitor.h index 38b22a4..9582b9c 100644 --- a/monitor.h +++ b/monitor.h @@ -17,7 +17,6 @@ extern Monitor *default_mon; /* flags for monitor commands */ #define MONITOR_CMD_ASYNC 0x0001 -#define MONITOR_CMD_USER_ONLY 0x0002 /* QMP events */ typedef enum MonitorEvent { -- 1.7.3.rc2.dirty