Re: [PATCH v10 3/8] gpio: pl061: drop redundant pending check in the IRQ handler

From: Linus Walleij

Date: Fri Oct 16 2026 - 09:32:05 EST


On Thu, Oct 15, 2026 at 12:54 PM Long Zhao via B4 Relay
<devnull+longzhao.ambarella.com@xxxxxxxxxx> wrote:

> From: Long Zhao <longzhao@xxxxxxxxxxxxx>
>
> for_each_set_bit() does nothing when the mask is zero, so the
> if (pending) wrapper around it is redundant.
>
> Signed-off-by: Long Zhao <longzhao@xxxxxxxxxxxxx>

Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij