Skip to contentSkip to conversation

kvm: remove useless function define from file arch/x86/kvm/irq.h

PATCH RESEND Applied Duan Jiong 2 participants 2 messages Apr 11, 2011 – Apr 17, 2011

Subsystems (3)
lore
Share & tools
lore

Duan Jiong

author
#0 lore raw

PATCH RESEND 1/1 kvm: remove useless function define from file arch/x86/kvm/irq.h

Just remove useless function define kvm_pic_clear_isr_ack() and pit_has_pending_timer()

---
 arch/x86/kvm/irq.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
arch/x86/kvm/irq.h +0 -2
index ba910d1..53e2d08 100644
@@ -75,7 +75,6 @@ struct kvm_pic *kvm_create_pic(struct kvm *kvm);
 void kvm_destroy_pic(struct kvm *kvm);
 int kvm_pic_read_irq(struct kvm *kvm);
 void kvm_pic_update_irq(struct kvm_pic *s);
-void kvm_pic_clear_isr_ack(struct kvm *kvm);
 
 static inline struct kvm_pic *pic_irqchip(struct kvm *kvm)
 {
@@ -100,7 +99,6 @@ void __kvm_migrate_apic_timer(struct kvm_vcpu *vcpu);
 void __kvm_migrate_pit_timer(struct kvm_vcpu *vcpu);
 void __kvm_migrate_timers(struct kvm_vcpu *vcpu);
 
-int pit_has_pending_timer(struct kvm_vcpu *vcpu);
 int apic_has_pending_timer(struct kvm_vcpu *vcpu);
 
 #endif
Signature · 1 line
1.7.4
Applied
#1 lore raw
Quoted 3 lines · Duan Jiong

Just remove useless function define kvm_pic_clear_isr_ack() and pit_has_pending_timer()

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function