Re: [PATCH v3 06/11] ata: sata_rcar: Remove unnecessary return value check

From: Geert Uytterhoeven
Date: Mon Jul 10 2023 - 08:29:28 EST


On Mon, Jul 10, 2023 at 4:47 AM Yangtao Li <frank.li@xxxxxxxx> wrote:
> As commit ce753ad1549c ("platform: finally disallow IRQ0 in
> platform_get_irq() and its ilk") says, there is no need to
> check if the platform_get_irq return value is 0. Let's remove it.
>
> Signed-off-by: Yangtao Li <frank.li@xxxxxxxx>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds