diff options
| author | Li Zetao <lizetao1@huawei.com> | 2024-09-14 12:06:02 +0300 |
|---|---|---|
| committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-09-14 14:45:57 +0300 |
| commit | 1d66430cc9afdc588f13897189565a08d5e518b1 (patch) | |
| tree | 43300bec47936abbb68f1411ccfec64bce9a5e08 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 34c44eb31de9cb7202ff070900463d6c706392c4 (diff) | |
| download | linux-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
