diff options
author | 2025-03-26 11:51:58 -0400 | |
---|---|---|
committer | 2025-05-20 18:08:38 -0700 | |
commit | 08e3cc13b0d050860f41b4eaaa21c789af968b98 (patch) | |
tree | 91d3d35b069ca95a1d032983bc29cbe798a1b573 /scripts/generate_rust_analyzer.py | |
parent | wifi: ath9k_htc: Abort software beacon handling if disabled (diff) | |
download | wireguard-linux-08e3cc13b0d050860f41b4eaaa21c789af968b98.tar.xz wireguard-linux-08e3cc13b0d050860f41b4eaaa21c789af968b98.zip |
wifi: carl9170: micro-optimize carl9170_tx_shift_bm()
The function calls bitmap_empty() just before find_first_bit(). Both
functions are O(N). Because find_first_bit() returns >= nbits in case of
empty bitmap, the bitmap_empty() test may be avoided.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Link: https://patch.msgid.link/20250326155200.39895-1-yury.norov@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions