diff mbox

[15/18] kvm: qemu: kill unused variable in kvm_init_vcpu()

Message ID 1232027262-21487-15-git-send-email-markmc@redhat.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Mark McLoughlin Jan. 15, 2009, 1:47 p.m. UTC
qemu/qemu-kvm.c: In function ‘kvm_init_vcpu’:
  qemu/qemu-kvm.c:460: warning: unused variable ‘cpu’

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
 qemu/qemu-kvm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

Patch

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)