Re: [PATCH -next 2/2] ath9k: Remove unnecessary print function dev_err()

From: Toke Høiland-Jørgensen
Date: Fri Apr 08 2022 - 07:53:48 EST


Yang Li <yang.lee@xxxxxxxxxxxxxxxxx> writes:

> The print function dev_err() is redundant because
> platform_get_irq_byname() already prints an error.
>
> Eliminate the follow coccicheck warning:
> ./drivers/net/wireless/ath/ath9k/ahb.c:103:2-9: line 103 is redundant
> because platform_get_irq() already prints an error
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>

Heh, so I was the one originally insisting on keeping that err print,
but looking a bit closer now it does really appear to be redundant, so:

Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>