We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8615c commit 322d79fCopy full SHA for 322d79f
arch/x86/kvm/x86.c
@@ -13046,11 +13046,8 @@ int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu)
13046
13047
bool kvm_arch_dy_has_pending_interrupt(struct kvm_vcpu *vcpu)
13048
{
13049
- if (kvm_vcpu_apicv_active(vcpu) &&
13050
- static_call(kvm_x86_dy_apicv_has_pending_interrupt)(vcpu))
13051
- return true;
13052
-
13053
- return false;
+ return kvm_vcpu_apicv_active(vcpu) &&
+ static_call(kvm_x86_dy_apicv_has_pending_interrupt)(vcpu);
13054
}
13055
13056
bool kvm_arch_vcpu_preempted_in_kernel(struct kvm_vcpu *vcpu)
0 commit comments