KVM: remove unused variable.
authorGleb Natapov <gleb@redhat.com>
Fri, 14 Dec 2012 13:23:16 +0000 (15:23 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sat, 15 Dec 2012 01:07:44 +0000 (23:07 -0200)
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/irq.c

index ebd98d0c4f6efbb2b749d1b2e8546a73b54eaf8b..b111aee815f811b60806c8e4849ece5daae04fdb 100644 (file)
@@ -43,8 +43,6 @@ EXPORT_SYMBOL(kvm_cpu_has_pending_timer);
  */
 int kvm_cpu_has_interrupt(struct kvm_vcpu *v)
 {
-       struct kvm_pic *s;
-
        if (!irqchip_in_kernel(v->kvm))
                return v->arch.interrupt.pending;
 
@@ -60,8 +58,6 @@ EXPORT_SYMBOL_GPL(kvm_cpu_has_interrupt);
  */
 int kvm_cpu_get_interrupt(struct kvm_vcpu *v)
 {
-       struct kvm_pic *s;
-
        if (!irqchip_in_kernel(v->kvm))
                return v->arch.interrupt.nr;