diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-07-10 20:57:44 +0200 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-08-01 17:59:20 +0300 |
commit | 215a19631d1125a2834b2ffe62b8de9a9e73d6a8 (patch) | |
tree | a20acad39a46635cded1dc03df4ba7b06f48aacb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | aa0d7643c8dd1a0483189499ea2f9492d74f4970 (diff) |
wifi: ath9k: Use swap() to improve ath9k_hw_get_nf_hist_mid()
Use the swap() macro to simplify the ath9k_hw_get_nf_hist_mid() function
and improve its readability.
Fixes the following Coccinelle/coccicheck warning reported by
swap.cocci:
WARNING opportunity for swap()
Compile-tested only.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.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/20240710185743.709742-2-thorsten.blum@toblux.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions