Re: [PATCH] genirq/irqdomain: Remove redundant NULL pointer check on fwnode

2020-07-17 Thread Marc Zyngier
On Thu, 16 Jul 2020 16:39:05 +0800, Zenghui Yu wrote: > The is_fwnode_irqchip() helper will check if the fwnode_handle is empty. > There is no need to perform a redundant check outside of it. Applied to irq/irqchip-5.9, thanks! [1/1] genirq/irqdomain: Remove redundant NULL pointer check on

[PATCH] genirq/irqdomain: Remove redundant NULL pointer check on fwnode

2020-07-16 Thread Zenghui Yu
The is_fwnode_irqchip() helper will check if the fwnode_handle is empty. There is no need to perform a redundant check outside of it. Signed-off-by: Zenghui Yu --- kernel/irq/irqdomain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/irqdomain.c