[RFC PATCH] KVM: x86/pmu: kvm_pmu_lbr_cleanup() can be static

kbuild test robot
2020-04-28T05:07:14Z

Signed-off-by: kbuild test robot <lkp@intel.com>
---
pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c
index 7dad899850bb3..b9b6d16651c8b 100644
--- a/arch/x86/kvm/pmu.c
+++ b/arch/x86/kvm/pmu.c
@@ -452,7 +452,7 @@ static inline bool pmc_speculative_in_use(struct kvm_pmc *pmc)
return pmc->eventsel & ARCH_PERFMON_EVENTSEL_ENABLE;
}

-void kvm_pmu_lbr_cleanup(struct kvm_vcpu *vcpu)
+static void kvm_pmu_lbr_cleanup(struct kvm_vcpu *vcpu)
{
if (kvm_x86_ops.pmu_ops->lbr_cleanup)
kvm_x86_ops.pmu_ops->lbr_cleanup(vcpu);