summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/irq.c
diff options
context:
space:
mode:
authorGleb Natapov <gleb@redhat.com>2012-12-14 15:23:16 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2012-12-14 23:07:44 -0200
commite11ae1a102b46f76441e328a2743ae5d6e201423 (patch)
tree470c6edcec53197fa280f614ceaaaeec126b103d /arch/x86/kvm/irq.c
parent0f888f5acd0cd806d4fd9f4067276b3855a13309 (diff)
downloadop-kernel-dev-e11ae1a102b46f76441e328a2743ae5d6e201423.zip
op-kernel-dev-e11ae1a102b46f76441e328a2743ae5d6e201423.tar.gz
KVM: remove unused variable.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/irq.c')
-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 ebd98d0..b111aee 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;
OpenPOWER on IntegriCloud