[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <164976922680.15500.1095811162535053166.kvalo@kernel.org>
Date: Tue, 12 Apr 2022 13:13:48 +0000 (UTC)
From: Kalle Valo <kvalo@...nel.org>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
loic.poulain@...aro.org, toke@...e.dk, wcn36xx@...ts.infradead.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>,
Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH -next 2/2] ath9k: Remove unnecessary print function
dev_err()
Yang Li <yang.lee@...ux.alibaba.com> wrote:
> 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@...ux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@...ux.alibaba.com>
> Acked-by: Toke Høiland-Jørgensen <toke@...e.dk>
> Signed-off-by: Kalle Valo <quic_kvalo@...cinc.com>
Patch applied to ath-next branch of ath.git, thanks.
d7ceee8051ba ath9k: Remove unnecessary print function dev_err()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220408000113.129906-2-yang.lee@linux.alibaba.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists