[PATCH 01/14] KVM: x86: Remove unnecessary export of kvm_cpu_has_pending_timer()

Like Xu posted 14 patches 3 years, 5 months ago
[PATCH 01/14] KVM: x86: Remove unnecessary export of kvm_cpu_has_pending_timer()
Posted by Like Xu 3 years, 5 months ago
From: Sean Christopherson <seanjc@google.com>

Don't export x86's kvm_cpu_has_pending_timer(), the helper isn't used by
KVM x86's vendor modules.

Signed-off-by: Sean Christopherson <seanjc@google.com>
---
 arch/x86/kvm/irq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kvm/irq.c b/arch/x86/kvm/irq.c
index d8d50558f165..04a009fbdf8a 100644
--- a/arch/x86/kvm/irq.c
+++ b/arch/x86/kvm/irq.c
@@ -31,7 +31,6 @@ int kvm_cpu_has_pending_timer(struct kvm_vcpu *vcpu)
 
 	return r;
 }
-EXPORT_SYMBOL(kvm_cpu_has_pending_timer);
 
 /*
  * check if there is a pending userspace external interrupt
-- 
2.38.1