qemu/qemu-kvm.c: In function ‘kvm_init_vcpu’:
  qemu/qemu-kvm.c:460: warning: unused variable ‘cpu’

Signed-off-by: Mark McLoughlin <[email protected]>
---
 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)
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to