From patchwork Thu Jan 15 13:47:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark McLoughlin X-Patchwork-Id: 2494 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0FDhvrA020448 for ; Thu, 15 Jan 2009 05:43:58 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759642AbZAONsD (ORCPT ); Thu, 15 Jan 2009 08:48:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760132AbZAONsB (ORCPT ); Thu, 15 Jan 2009 08:48:01 -0500 Received: from mail23.svc.cra.dublin.eircom.net ([159.134.118.145]:36166 "HELO mail23.svc.cra.dublin.eircom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759642AbZAONrq (ORCPT ); Thu, 15 Jan 2009 08:47:46 -0500 Received: (qmail 11904 messnum 8130081 invoked from network[83.71.77.218/83-71-77-218-dynamic.b-ras1.srl.dublin.eircom.net]); 15 Jan 2009 13:47:44 -0000 Received: from 83-71-77-218-dynamic.b-ras1.srl.dublin.eircom.net (HELO blaa.localdomain) (83.71.77.218) by mail23.svc.cra.dublin.eircom.net (qp 11904) with SMTP; 15 Jan 2009 13:47:44 -0000 Received: by blaa.localdomain (Postfix, from userid 500) id 106462E45F8; Thu, 15 Jan 2009 13:47:43 +0000 (GMT) From: Mark McLoughlin To: avi@redhat.com Cc: kvm@vger.kernel.org, Mark McLoughlin Subject: [PATCH 15/18] kvm: qemu: kill unused variable in kvm_init_vcpu() Date: Thu, 15 Jan 2009 13:47:39 +0000 Message-Id: <1232027262-21487-15-git-send-email-markmc@redhat.com> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1232027262-21487-14-git-send-email-markmc@redhat.com> References: <1232027262-21487-1-git-send-email-markmc@redhat.com> <1232027262-21487-2-git-send-email-markmc@redhat.com> <1232027262-21487-3-git-send-email-markmc@redhat.com> <1232027262-21487-4-git-send-email-markmc@redhat.com> <1232027262-21487-5-git-send-email-markmc@redhat.com> <1232027262-21487-6-git-send-email-markmc@redhat.com> <1232027262-21487-7-git-send-email-markmc@redhat.com> <1232027262-21487-8-git-send-email-markmc@redhat.com> <1232027262-21487-9-git-send-email-markmc@redhat.com> <1232027262-21487-10-git-send-email-markmc@redhat.com> <1232027262-21487-11-git-send-email-markmc@redhat.com> <1232027262-21487-12-git-send-email-markmc@redhat.com> <1232027262-21487-13-git-send-email-markmc@redhat.com> <1232027262-21487-14-git-send-email-markmc@redhat.com> MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org qemu/qemu-kvm.c: In function ‘kvm_init_vcpu’: qemu/qemu-kvm.c:460: warning: unused variable ‘cpu’ Signed-off-by: Mark McLoughlin --- qemu/qemu-kvm.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index fe05f3e..c99bf5c 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -450,7 +450,6 @@ static void *ap_main_loop(void *_env) void kvm_init_vcpu(CPUState *env) { - int cpu = env->cpu_index; pthread_create(&env->kvm_cpu_state.thread, NULL, ap_main_loop, env); while (env->kvm_cpu_state.created == 0)