[tip: irq/urgent] irqchip/gic-v3-its: Remove superfluous WARN_ON

From: tip-bot2 for Zenghui Yu
Date: Sat Feb 08 2020 - 09:58:39 EST


The following commit has been merged into the irq/urgent branch of tip:

Commit-ID: b46353250ba3b4946adcbbabead23546fcb758b0
Gitweb: https://git.kernel.org/tip/b46353250ba3b4946adcbbabead23546fcb758b0
Author: Zenghui Yu <yuzenghui@xxxxxxxxxx>
AuthorDate: Thu, 06 Feb 2020 15:57:10 +08:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Sat, 08 Feb 2020 10:01:33

irqchip/gic-v3-its: Remove superfluous WARN_ON

"ITS virtual pending table not cleaning" is already complained inside
its_clear_vpend_valid(), there's no need to trigger a WARN_ON again.

Signed-off-by: Zenghui Yu <yuzenghui@xxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20200206075711.1275-6-yuzenghui@xxxxxxxxxx
---
drivers/irqchip/irq-gic-v3-its.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 8405ebd..811875b 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -2857,7 +2857,6 @@ static void its_cpu_init_lpis(void)
* corrupting memory.
*/
val = its_clear_vpend_valid(vlpi_base, 0, 0);
- WARN_ON(val & GICR_VPENDBASER_Dirty);
}

if (allocate_vpe_l1_table()) {