aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/hyperv.c
diff options
context:
space:
mode:
authorWei Wang <[email protected]>2024-05-07 21:31:01 +0800
committerPaolo Bonzini <[email protected]>2024-07-16 12:14:11 -0400
commitf4854bf741c4cdb8f8cdefbf533f9b8dfd43f041 (patch)
tree41c65af08ff8fb88aa1250329f441b9a0de6d3d5 /arch/x86/kvm/hyperv.c
parentbc9cd5a219aa6c00515aa8f0904c8d49706f0760 (diff)
KVM: x86: Replace static_call_cond() with static_call()
The use of static_call_cond() is essentially the same as static_call() on x86 (e.g. static_call() now handles a NULL pointer as a NOP), so replace it with static_call() to simplify the code. Link: https://lore.kernel.org/all/3916caa1dcd114301a49beafa5030eca396745c1.1679456900.git.jpoimboe@kernel.org/ Suggested-by: Sean Christopherson <[email protected]> Signed-off-by: Wei Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/hyperv.c')
0 files changed, 0 insertions, 0 deletions