Skip to content
Commit 36b02567 authored by Like Xu's avatar Like Xu Committed by Sean Christopherson
Browse files

KVM: svm/avic: Drop "struct kvm_x86_ops" for avic_hardware_setup()



Even in commit 4bdec12a ("KVM: SVM: Detect X2APIC virtualization
(x2AVIC) support"), where avic_hardware_setup() was first introduced,
its only pass-in parameter "struct kvm_x86_ops *ops" is not used at all.
Clean it up a bit to avoid compiler ranting from LLVM toolchain.

Signed-off-by: default avatarLike Xu <likexu@tencent.com>
Reviewed-by: default avatarSean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20221109115952.92816-1-likexu@tencent.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 5f6015b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment