From: Luiz Capitulino Date: Thu, 16 Sep 2010 13:47:54 +0000 (-0300) Subject: Monitor: Drop monitor_cmd_user_only() X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~7109^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e19a62770a7a0876869432c69a5a5f2d7646e12;p=sdk%2Femulator%2Fqemu.git Monitor: Drop monitor_cmd_user_only() 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 --- diff --git a/monitor.c b/monitor.c index b43277e..8f90250 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 f2122b5..44c3625 100644 --- a/monitor.h +++ b/monitor.h @@ -18,7 +18,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 {