KVM: arm/arm64: Remove kvm_vgic_inject_mapped_irq
authorChristoffer Dall <christoffer.dall@linaro.org>
Wed, 1 Feb 2017 10:03:45 +0000 (11:03 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 1 Feb 2017 10:56:35 +0000 (11:56 +0100)
commit11710dec8a45084a3e0ad2f6da944c990fad23a4
tree607fa996a76cb204964692d390fc9d671fd9a2a7
parent9d93dc1c96ec446bef9c34a189ea24556f1af89a
KVM: arm/arm64: Remove kvm_vgic_inject_mapped_irq

The only benefit of having kvm_vgic_inject_mapped_irq separate from
kvm_vgic_inject_irq is that we pass a boolean that we use for error
checking on the injection path.

While this could potentially help in some aspect of robustness, it's
also a little bit of a defensive move, and arguably callers into the
vgic should have make sure they have marked their virtual IRQs as mapped
if required.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/arch_timer.c
virt/kvm/arm/vgic/vgic.c