diff options
author | Dmitry Antipov <[email protected]> | 2023-08-23 21:23:33 +0300 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2023-09-20 16:16:12 +0300 |
commit | e6a1107bf5ebd531144f46f74ee2b7f8d56d3c79 (patch) | |
tree | 6b3fe13283c1a73fd820bd403567ed36f3205793 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3f53624f74f4ccd645adfdb9a6b9f1cd97ec5623 (diff) |
wifi: ath9k: simplify ar9003_hw_process_ini()
Since commit 8896934c1684 ("ath9k_hw: remove direct accesses to channel
mode flags") changes 'ar9550_hw_get_modes_txgain_index()' so it never
returns -EINVAL, and 'ar9561_hw_get_modes_txgain_index()' never returns
negative value too, an extra check in 'ar9003_hw_process_ini()' may be
dropped.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Dmitry Antipov <[email protected]>
Reviewed-by: Jeff Johnson <[email protected]>
Acked-by: Toke Høiland-Jørgensen <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions