irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc
authorGuanrui Huang <guanrui.huang@linux.alibaba.com>
Thu, 18 Apr 2024 06:10:53 +0000 (14:10 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Apr 2024 12:38:24 +0000 (14:38 +0200)
commit382d2ffe86efb1e2fa803d2cf17e5bfc34e574f3
tree0ab1eb32133e8e8ff0361070d66166de5d449a78
parent6f28c4a852fab8bd759a383149dfd30511477249
irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc

This BUG_ON() is useless, because the same effect will be obtained
by letting the code run its course and vm being dereferenced,
triggering an exception.

So just remove this check.

Signed-off-by: Guanrui Huang <guanrui.huang@linux.alibaba.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240418061053.96803-3-guanrui.huang@linux.alibaba.com
drivers/irqchip/irq-gic-v3-its.c