Patchwork [4/8] monitor: Remove unused bool field 'qapi' in mon_cmd_t struct

login
register
mail settings
Submitter Stefan Hajnoczi
Date March 19, 2012, 12:22 p.m.
Message ID <1332159780-31781-5-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/147501/
State New
Headers show

Comments

Stefan Hajnoczi - March 19, 2012, 12:22 p.m.
From: Jeff Cody <jcody@redhat.com>

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>
---
 monitor.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Patch

diff --git a/monitor.c b/monitor.c
index d57e7bf..e71a141 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;