aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-12-14 08:23:16 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2012-12-14 20:07:44 -0500
commite11ae1a102b46f76441e328a2743ae5d6e201423 (patch)
tree470c6edcec53197fa280f614ceaaaeec126b103d
parent0f888f5acd0cd806d4fd9f4067276b3855a13309 (diff)
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.c4
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);
43 */ 43 */
44int kvm_cpu_has_interrupt(struct kvm_vcpu *v) 44int kvm_cpu_has_interrupt(struct kvm_vcpu *v)
45{ 45{
46 struct kvm_pic *s;
47
48 if (!irqchip_in_kernel(v->kvm)) 46 if (!irqchip_in_kernel(v->kvm))
49 return v->arch.interrupt.pending; 47 return v->arch.interrupt.pending;
50 48
@@ -60,8 +58,6 @@ EXPORT_SYMBOL_GPL(kvm_cpu_has_interrupt);
60 */ 58 */
61int kvm_cpu_get_interrupt(struct kvm_vcpu *v) 59int kvm_cpu_get_interrupt(struct kvm_vcpu *v)
62{ 60{
63 struct kvm_pic *s;
64
65 if (!irqchip_in_kernel(v->kvm)) 61 if (!irqchip_in_kernel(v->kvm))
66 return v->arch.interrupt.nr; 62 return v->arch.interrupt.nr;
67 63