Fixes:

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

Signed-off-by: Mark McLoughlin <[email protected]>
---
 qemu/kvm-tpr-opt.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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,
-- 
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