Commit 322d79f
committed
KVM: x86: Clean up directed yield API for "has pending interrupt"
Directly return the boolean result of whether or not a vCPU has a pending
interrupt instead of effectively doing:
if (true)
return true;
return false;
Reviewed-by: Yuan Yao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>1 parent 9b8615c commit 322d79f
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13046 | 13046 | | |
13047 | 13047 | | |
13048 | 13048 | | |
13049 | | - | |
13050 | | - | |
13051 | | - | |
13052 | | - | |
13053 | | - | |
| 13049 | + | |
| 13050 | + | |
13054 | 13051 | | |
13055 | 13052 | | |
13056 | 13053 | | |
| |||
0 commit comments