From patchwork Mon Mar 19 12:22:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 147501 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6B51EB6EEA for ; Mon, 19 Mar 2012 23:46:59 +1100 (EST) Received: from localhost ([::1]:33535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9bd7-0004GE-DJ for incoming@patchwork.ozlabs.org; Mon, 19 Mar 2012 08:24:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9bcp-0003Qn-4A for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:23:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9bcQ-0000EI-KY for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:23:46 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:35119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9bcQ-0000Dv-Br for qemu-devel@nongnu.org; Mon, 19 Mar 2012 08:23:22 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 19 Mar 2012 12:23:18 -0000 Received: from d06nrmr1707.portsmouth.uk.ibm.com (9.149.39.225) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 19 Mar 2012 12:23:06 -0000 Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q2JCN51R2711622 for ; Mon, 19 Mar 2012 12:23:05 GMT Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q2JAKXNu010534 for ; Mon, 19 Mar 2012 06:20:33 -0400 Received: from localhost (dyn-9-174-219-44.manchester-maybrook.uk.ibm.com [9.174.219.44]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q2JAKXWF010529; Mon, 19 Mar 2012 06:20:33 -0400 From: Stefan Hajnoczi To: Anthony Liguori Date: Mon, 19 Mar 2012 12:22:56 +0000 Message-Id: <1332159780-31781-5-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.9.1 In-Reply-To: <1332159780-31781-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1332159780-31781-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 12031912-5024-0000-0000-0000020408BD X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.107 Cc: Jeff Cody , qemu-devel@nongnu.org, Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 4/8] monitor: Remove unused bool field 'qapi' in mon_cmd_t struct X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jeff Cody Some minor code cleanup: the 'qapi' bool field in mon_cmd_t is unused, and can be removed. Signed-off-by: Jeff Cody Acked-by: Luiz Capitulino Signed-off-by: Stefan Hajnoczi --- monitor.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) 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;