summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2024-09-14 12:06:02 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2024-09-14 14:45:57 +0300
commit1d66430cc9afdc588f13897189565a08d5e518b1 (patch)
tree43300bec47936abbb68f1411ccfec64bce9a5e08 /tools/perf/scripts/python/parallel-perf.py
parent34c44eb31de9cb7202ff070900463d6c706392c4 (diff)
downloadlinux-1d66430cc9afdc588f13897189565a08d5e518b1.tar.gz
linux-1d66430cc9afdc588f13897189565a08d5e518b1.zip
wifi: ath9k: use clamp() in ar9003_aic_cal_post_process()
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao <lizetao1@huawei.com> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://patch.msgid.link/20240830011858.603514-1-lizetao1@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions