KVM: remove unused variable.
Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
0f888f5acd
commit
e11ae1a102
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue