From patchwork Fri Oct 28 09:52:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 122373 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 594A71007DD for ; Fri, 28 Oct 2011 20:53:41 +1100 (EST) Received: from localhost ([::1]:34542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJj80-0005Ff-Qc for incoming@patchwork.ozlabs.org; Fri, 28 Oct 2011 05:53:32 -0400 Received: from eggs.gnu.org ([140.186.70.92]:43270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJj7R-0003L8-Ak for qemu-devel@nongnu.org; Fri, 28 Oct 2011 05:53:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJj7P-00053G-3g for qemu-devel@nongnu.org; Fri, 28 Oct 2011 05:52:57 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:36478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJj7O-000528-SZ for qemu-devel@nongnu.org; Fri, 28 Oct 2011 05:52:55 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1RJj7C-0004iI-V6; Fri, 28 Oct 2011 10:52:42 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 28 Oct 2011 10:52:41 +0100 Message-Id: <1319795562-18091-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1319795562-18091-1-git-send-email-peter.maydell@linaro.org> References: <1319795562-18091-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: Paolo Bonzini , "Dr. David Alan Gilbert" , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Jan Kiszka , patches@linaro.org Subject: [Qemu-devel] [PATCH v3 2/3] darwin-user/main.c: Drop unused cpu_single_env definition 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: Paolo Bonzini Drop the cpu_single_env definition as it is unused. Signed-off-by: Paolo Bonzini --- darwin-user/main.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/darwin-user/main.c b/darwin-user/main.c index 1a881a0..c0f14f8 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -729,8 +729,6 @@ static void usage(void) /* XXX: currently only used for async signals (see signal.c) */ CPUState *global_env; -/* used only if single thread */ -CPUState *cpu_single_env = NULL; /* used to free thread contexts */ TaskState *first_task_state;