]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: vgic: Remove unreachable irq_clear_pending
authorChristoffer Dall <christoffer.dall@linaro.org>
Mon, 24 Nov 2014 09:41:56 +0000 (10:41 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 25 Nov 2014 13:57:28 +0000 (13:57 +0000)
commitca6e1ddad66a2ff4f3145767c1a459b5c973f87e
tree24833551fcd373823e983c4c220251d6591c028c
parent205b67c3c0b1f1efd642c7641b94e0eb164f9014
arm/arm64: vgic: Remove unreachable irq_clear_pending

When 'injecting' an edge-triggered interrupt with a falling edge we
shouldn't clear the pending state on the distributor.  In fact, we
don't, because the check in vgic_validate_injection would prevent us
from ever reaching this bit of code.

Remove the unreachable snippet.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic.c