diff mbox

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

Message ID 1232027262-21487-18-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
Fixes:

  qemu/kvm-tpr-opt.c:22: warning: redundant redeclaration of ‘kvm_context’

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

Patch

diff --git a/qemu/kvm-tpr-opt.c b/qemu/kvm-tpr-opt.c
index 85fbbbc..44b453f 100644
--- a/qemu/kvm-tpr-opt.c
+++ b/qemu/kvm-tpr-opt.c
@@ -222,7 +222,6 @@  static int bios_is_mapped(CPUState *env, uint64_t rip)
 
 static int enable_vapic(CPUState *env)
 {
-    struct kvm_sregs sregs;
     static uint8_t one = 1;
 
     kvm_enable_vapic(kvm_context, env->cpu_index,