Re: [PATCH v3 2/3] irqchip/lan966x-oic: Drop redundant IRQ_DOMAIN_FLAG_DESTROY_GC
From: Herve Codina
Date: Mon Sep 07 2026 - 02:59:06 EST
Hi Qingshuang
On Mon, 7 Sep 2026 10:40:45 +0800
Qingshuang Fu <fuqingshuang@xxxxxxxxxx> wrote:
> Now that __irq_domain_instantiate() automatically sets
> IRQ_DOMAIN_FLAG_DESTROY_GC when dgc_info is provided, the explicit
> flag in the irq_domain_info is redundant. Remove it.
>
> Signed-off-by: Qingshuang Fu <fuqingshuang@xxxxxxxxxx>
> ---
> drivers/irqchip/irq-lan966x-oic.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-lan966x-oic.c b/drivers/irqchip/irq-lan966x-oic.c
> index 8af08d0e4182..5122f3f1b353 100644
> --- a/drivers/irqchip/irq-lan966x-oic.c
> +++ b/drivers/irqchip/irq-lan966x-oic.c
> @@ -220,7 +220,6 @@ static int lan966x_oic_probe(struct platform_device *pdev)
> };
> struct irq_domain_info d_info = {
> .fwnode = of_fwnode_handle(pdev->dev.of_node),
> - .domain_flags = IRQ_DOMAIN_FLAG_DESTROY_GC,
> .size = LAN966X_OIC_NR_IRQ,
> .hwirq_max = LAN966X_OIC_NR_IRQ,
> .ops = &irq_generic_chip_ops,
Reviewed-by: Herve Codina <herve.codina@xxxxxxxxxxx>
Best regards,
Hervé