Skip to content

Commit

Permalink
KVM: remove unused variable.
Browse files Browse the repository at this point in the history
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
  • Loading branch information
Gleb Natapov authored and Marcelo Tosatti committed Dec 15, 2012
1 parent 0f888f5 commit e11ae1a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/kvm/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;

Expand Down

0 comments on commit e11ae1a

Please sign in to comment.