x86/kvm: remove unused ack_notifier callbacks
[ Upstream commit 9dba4d24cbb5524dd39ab1e08886373b17f07ff2 ]
Commit f52447261b ("KVM: irq ack notification") introduced an
ack_notifier() callback in struct kvm_pic and in struct kvm_ioapic
without using them anywhere. Remove those callbacks again.
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-Id: <20211117071617.19504-1-jgross@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
54bf0b0d35
commit
bf4367c02c
@@ -81,7 +81,6 @@ struct kvm_ioapic {
|
|||||||
unsigned long irq_states[IOAPIC_NUM_PINS];
|
unsigned long irq_states[IOAPIC_NUM_PINS];
|
||||||
struct kvm_io_device dev;
|
struct kvm_io_device dev;
|
||||||
struct kvm *kvm;
|
struct kvm *kvm;
|
||||||
void (*ack_notifier)(void *opaque, int irq);
|
|
||||||
spinlock_t lock;
|
spinlock_t lock;
|
||||||
struct rtc_status rtc_status;
|
struct rtc_status rtc_status;
|
||||||
struct delayed_work eoi_inject;
|
struct delayed_work eoi_inject;
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ struct kvm_pic {
|
|||||||
struct kvm_io_device dev_master;
|
struct kvm_io_device dev_master;
|
||||||
struct kvm_io_device dev_slave;
|
struct kvm_io_device dev_slave;
|
||||||
struct kvm_io_device dev_elcr;
|
struct kvm_io_device dev_elcr;
|
||||||
void (*ack_notifier)(void *opaque, int irq);
|
|
||||||
unsigned long irq_states[PIC_NUM_PINS];
|
unsigned long irq_states[PIC_NUM_PINS];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user