diff options
author | Gleb Natapov <gleb@redhat.com> | 2012-12-14 17:23:16 +0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-12-15 05:07:44 +0400 |
commit | e11ae1a102b46f76441e328a2743ae5d6e201423 (patch) | |
tree | 470c6edcec53197fa280f614ceaaaeec126b103d | |
parent | 0f888f5acd0cd806d4fd9f4067276b3855a13309 (diff) | |
download | linux-e11ae1a102b46f76441e328a2743ae5d6e201423.tar.xz |
KVM: remove unused variable.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r-- | arch/x86/kvm/irq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c index ebd98d0c4f6e..b111aee815f8 100644 --- a/arch/x86/kvm/irq.c +++ b/arch/x86/kvm/irq.c @@ -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; |