From: Paolo Bonzini Date: Wed, 18 Oct 2023 09:15:09 +0000 (+0200) Subject: kvm: remove unnecessary stub X-Git-Tag: pull-xenfv-stable-20231106~19^2~16 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cd08948840c029ca537e414e27b575536dff5956;p=users%2Fdwmw2%2Fqemu.git kvm: remove unnecessary stub This function is only invoked from hw/intc/s390_flic_kvm.c, and therefore only if CONFIG_KVM is defined. Reviewed-by: Manos Pitsidianakis Signed-off-by: Paolo Bonzini --- diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c index 51f522e52e..a323252f8e 100644 --- a/accel/stubs/kvm-stub.c +++ b/accel/stubs/kvm-stub.c @@ -92,11 +92,6 @@ void kvm_irqchip_change_notify(void) { } -int kvm_irqchip_add_adapter_route(KVMState *s, AdapterInfo *adapter) -{ - return -ENOSYS; -} - int kvm_irqchip_add_irqfd_notifier_gsi(KVMState *s, EventNotifier *n, EventNotifier *rn, int virq) {