summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-18 01:21:36 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2026-06-06 18:46:29 +0300
commit13cdd324cc155200ea328257c746004d898ff3de (patch)
tree9446cf5d7a9317eb138d7d81173112c7d193879b /tools/lib/python
parent44589c155e6f4531100ddd3b6478190edd075035 (diff)
downloadlinux-13cdd324cc155200ea328257c746004d898ff3de.tar.xz
wifi: ath9k: remove TX99 power array zero init
This array is fully initialized in the loop itself. No need to zero initialize and then overwrite. Remove static from the array. This was a holdover from when the array was a static global variable. It no longer confers any benefit. Also add a min() call to avoid the manual if/ternary operation. Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev <rosenp@gmail.com> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk> Link: https://patch.msgid.link/20260517222136.1660347-1-rosenp@gmail.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions