From patchwork Thu Oct 27 11:37:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 4858 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 CC08423DEF for ; Thu, 27 Oct 2011 11:37:58 +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 C1B78A1845E for ; Thu, 27 Oct 2011 11:37:58 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id n26so3650440faa.11 for ; Thu, 27 Oct 2011 04:37:58 -0700 (PDT) Received: by 10.223.16.82 with SMTP id n18mr66169783faa.2.1319715478646; Thu, 27 Oct 2011 04:37:58 -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 7cs42374lak; Thu, 27 Oct 2011 04:37:58 -0700 (PDT) Received: by 10.213.6.199 with SMTP id a7mr470822eba.109.1319715476833; Thu, 27 Oct 2011 04:37:56 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id h28si3112777faa.37.2011.10.27.04.37.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Oct 2011 04:37:56 -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 1RJOHR-0004FB-0r; Thu, 27 Oct 2011 12:37:53 +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 v2 2/3] darwin-user/main.c: Drop unused cpu_single_env definition Date: Thu, 27 Oct 2011 12:37:51 +0100 Message-Id: <1319715472-16286-3-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1319715472-16286-1-git-send-email-peter.maydell@linaro.org> References: <1319715472-16286-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 Acked-by: Andreas Färber --- 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;