aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2012-03-12 14:13:57 -0400
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-03-19 10:52:52 +0000
commitc07c163e0e8cd89ab916774064f26a756eee08e9 (patch)
treec03e0cdbfd8924e4aadf99ef60ec5e6076bb938a
parentfbac6a7d35d119a52606c175aface9bcec805f09 (diff)
monitor: Remove unused bool field 'qapi' in mon_cmd_t struct
Some minor code cleanup: the 'qapi' bool field in mon_cmd_t is unused, and can be removed. Signed-off-by: Jeff Cody <jcody@redhat.com> Acked-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--monitor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index d57e7bf61d..e71a141dd1 100644
--- a/monitor.c
+++ b/monitor.c
@@ -128,7 +128,6 @@ typedef struct mon_cmd_t {
int (*cmd_async)(Monitor *mon, const QDict *params,
MonitorCompletion *cb, void *opaque);
} mhandler;
- bool qapi;
int flags;
} mon_cmd_t;