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: 4868 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C36EA23DEF for ; Fri, 28 Oct 2011 09:52:50 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id B76ADA1885F for ; Fri, 28 Oct 2011 09:52:50 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id n26so5172404faa.11 for ; Fri, 28 Oct 2011 02:52:50 -0700 (PDT) Received: by 10.223.16.82 with SMTP id n18mr5060998faa.2.1319795570633; Fri, 28 Oct 2011 02:52:50 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.1.71 with SMTP id 7cs5323lak; Fri, 28 Oct 2011 02:52:50 -0700 (PDT) Received: by 10.227.209.5 with SMTP id ge5mr2797662wbb.1.1319795567346; Fri, 28 Oct 2011 02:52:47 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id gh20si6475450wbb.2.2011.10.28.02.52.46 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Oct 2011 02:52:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk 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 Cc: patches@linaro.org, Paolo Bonzini , "Dr. David Alan Gilbert" , Jan Kiszka , =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [PATCH v3 2/3] darwin-user/main.c: Drop unused cpu_single_env definition 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> 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;