Messages in this thread | | | From | Toke Høiland-Jørgensen <> | Subject | Re: [PATCH -next 2/2] ath9k: Remove unnecessary print function dev_err() | Date | Fri, 08 Apr 2022 13:53:35 +0200 |
| |
Yang Li <yang.lee@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@linux.alibaba.com> > Signed-off-by: Yang Li <yang.lee@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@toke.dk>
| |