mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 17:30:54 +07:00
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
@ -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 New Issue
Block a user