From: Zenghui Yu Date: Tue, 29 Oct 2019 07:19:17 +0000 (+0800) Subject: KVM: arm/arm64: vgic: Remove the declaration of kvm_send_userspace_msi() X-Git-Tag: v5.15~4838^2~3^2~8^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ff624cdbff4466a356892500699aea9318d584e;p=platform%2Fkernel%2Flinux-starfive.git KVM: arm/arm64: vgic: Remove the declaration of kvm_send_userspace_msi() 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 Signed-off-by: Marc Zyngier Reviewed-by: Eric Auger Link: https://lore.kernel.org/r/20191029071919.177-2-yuzenghui@huawei.com --- diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 4dc58d7..f66a02d 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h @@ -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