Re: [PATCH linux-next v2] net: ath9k: replace ternary operator with max()
From: Kalle Valo
Date: Sun May 22 2022 - 08:31:38 EST
Guo Zhengkui <guozhengkui@xxxxxxxx> wrote:
> Fix the following coccicheck warning:
>
> drivers/net/wireless/ath/ath9k/dfs.c:249:28-30: WARNING
> opportunity for max()
>
> Signed-off-by: Guo Zhengkui <guozhengkui@xxxxxxxx>
> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>
Patch applied to ath-next branch of ath.git, thanks.
2be8afe05833 ath9k: replace ternary operator with max()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220517024106.77050-1-guozhengkui@xxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches