diff mbox

[13/18] kvm: qemu: kill redundant declaration of smp_cpus and vm_running

Message ID 1232027262-21487-13-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
Defined in sysemu.h, included by qemu-kvm.c

  qemu/qemu-kvm.c:41: warning: redundant redeclaration of ‘smp_cpus’
  qemu/sysemu.h:98: warning: previous declaration of ‘smp_cpus’ was here
  qemu/qemu-kvm.c:219: warning: redundant redeclaration of ‘vm_running’
  qemu/sysemu.h:9: warning: previous declaration of ‘vm_running’ was here

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

Patch

diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index e54ace7..7b81d0f 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -35,8 +35,6 @@  int kvm_pit_reinject = 1;
 int kvm_nested = 0;
 kvm_context_t kvm_context;
 
-extern int smp_cpus;
-
 pthread_mutex_t qemu_mutex = PTHREAD_MUTEX_INITIALIZER;
 pthread_cond_t qemu_vcpu_cond = PTHREAD_COND_INITIALIZER;
 pthread_cond_t qemu_system_cond = PTHREAD_COND_INITIALIZER;
@@ -213,8 +211,6 @@  int kvm_cpu_exec(CPUState *env)
     return 0;
 }
 
-extern int vm_running;
-
 static int has_work(CPUState *env)
 {
     if (!vm_running || (env && env->kvm_cpu_state.stopped))