Re: [PATCH linux-next v2] net: ath5k: replace ternary operator with min()
From: Kalle Valo
Date: Sun May 22 2022 - 08:30:00 EST
Guo Zhengkui <guozhengkui@xxxxxxxx> wrote:
> Fix the following coccicheck warning:
>
> drivers/net/wireless/ath/ath5k/phy.c:3139:62-63: WARNING
> opportunity for min()
>
> Signed-off-by: Guo Zhengkui <guozhengkui@xxxxxxxx>
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>
Patch applied to ath-next branch of ath.git, thanks.
b380d2056ebb ath5k: replace ternary operator with min()
--
https://patchwork.kernel.org/project/linux-wireless/patch/20220517023923.76989-1-guozhengkui@xxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches