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

Toke Høiland-Jørgensen toke at toke.dk
Fri Apr 8 04:53:35 PDT 2022


Yang Li <yang.lee at linux.alibaba.com> 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 at linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee at linux.alibaba.com>

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 at toke.dk>



More information about the wcn36xx mailing list