kvm: remove unnecessary stub
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2023 09:15:09 +0000 (11:15 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Oct 2023 15:35:14 +0000 (17:35 +0200)
This function is only invoked from hw/intc/s390_flic_kvm.c, and therefore
only if CONFIG_KVM is defined.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/stubs/kvm-stub.c

index 51f522e52e8e6ef170ee3e321ef372f79410cf15..a323252f8e29faacdfb9a6ae63d36a35cc925e81 100644 (file)
@@ -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)
 {