Patchwork [v3,2/3] darwin-user/main.c: Drop unused cpu_single_env definition

login
register
mail settings
Submitter Peter Maydell
Date Oct. 28, 2011, 9:52 a.m.
Message ID <1319795562-18091-3-git-send-email-peter.maydell@linaro.org>
Download mbox | patch
Permalink /patch/122373/
State New
Headers show

Comments

Peter Maydell - Oct. 28, 2011, 9:52 a.m.
From: Paolo Bonzini <pbonzini@redhat.com>

Drop the cpu_single_env definition as it is unused.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 darwin-user/main.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

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;