From: Paolo Bonzini Date: Wed, 18 Oct 2023 09:15:09 +0000 (+0200) Subject: kvm: remove unnecessary stub X-Git-Tag: v8.2.0-rc0~50^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd08948840c029ca537e414e27b575536dff5956;p=thirdparty%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 51f522e52e8..a323252f8e2 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) {