Skip to content
Commit 2be8afe0 authored by Guo Zhengkui's avatar Guo Zhengkui Committed by Kalle Valo
Browse files

ath9k: replace ternary operator with max()



Fix the following coccicheck warning:

drivers/net/wireless/ath/ath9k/dfs.c:249:28-30: WARNING
opportunity for max()

Signed-off-by: default avatarGuo Zhengkui <guozhengkui@vivo.com>
Acked-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220517024106.77050-1-guozhengkui@vivo.com
parent bebcfd25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment