Skip to contentSkip to conversation

kvm: Delete prototype for non-existent function complete_pio

PATCH Applied Josh Triplett 2 participants 2 messages Oct 20, 2013 – Nov 6, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 kvm: Delete prototype for non-existent function complete_pio

complete_pio ceased to exist in commit 7972995b0c346de76fe260ce0fd6bcc8ffab724a ("KVM: x86 emulator: Move string pio emulation into emulator.c"), but the prototype remained. Remove its prototype.

---
 arch/x86/include/asm/kvm_host.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/kvm_host.h +0 -1
index c76ff74..00c5f44 100644
@@ -926,7 +926,6 @@ void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva);
 void kvm_enable_tdp(void);
 void kvm_disable_tdp(void);
 
-int complete_pio(struct kvm_vcpu *vcpu);
 bool kvm_check_iopl(struct kvm_vcpu *vcpu);
 
 static inline gpa_t translate_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access)
Signature · 1 line
1.8.4.rc3
Applied
#1 lore raw
Quoted 6 lines · Josh Triplett

complete_pio ceased to exist in commit 7972995b0c346de76fe260ce0fd6bcc8ffab724a ("KVM: x86 emulator: Move string pio emulation into emulator.c"), but the prototype remained. Remove its prototype.

Applied both, thanks. Sorry for the late reply.

Quoted 18 lines
---
 arch/x86/include/asm/kvm_host.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/include/asm/kvm_host.h +0 -1
index c76ff74..00c5f44 100644
@@ -926,7 +926,6 @@ void kvm_mmu_invlpg(struct kvm_vcpu *vcpu, gva_t gva);
 void kvm_enable_tdp(void);
 void kvm_disable_tdp(void);
 
-int complete_pio(struct kvm_vcpu *vcpu);
 bool kvm_check_iopl(struct kvm_vcpu *vcpu);
 
 static inline gpa_t translate_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access)
Signature · 1 line
1.8.4.rc3

--
Gleb.