OSDN Git Service

KVM: arm/arm64: vgic: Remove the declaration of kvm_send_userspace_msi()
authorZenghui Yu <yuzenghui@huawei.com>
Tue, 29 Oct 2019 07:19:17 +0000 (15:19 +0800)
committerMarc Zyngier <maz@kernel.org>
Tue, 29 Oct 2019 13:45:46 +0000 (13:45 +0000)
The callsite of kvm_send_userspace_msi() is currently arch agnostic.
There seems no reason to keep an extra declaration of it in arm_vgic.h
(we already have one in include/linux/kvm_host.h).

Remove it.

Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20191029071919.177-2-yuzenghui@huawei.com
include/kvm/arm_vgic.h

index 4dc58d7..f66a02d 100644 (file)
@@ -378,8 +378,6 @@ static inline int kvm_vgic_get_max_vcpus(void)
        return kvm_vgic_global_state.max_gic_vcpus;
 }
 
-int kvm_send_userspace_msi(struct kvm *kvm, struct kvm_msi *msi);
-
 /**
  * kvm_vgic_setup_default_irq_routing:
  * Setup a default flat gsi routing table mapping all SPIs