diff options
author | 2025-04-10 12:24:25 +0200 | |
---|---|---|
committer | 2025-04-23 15:34:22 +0200 | |
commit | bf55d51f080eb4a8b722b602508930cc0d50c655 (patch) | |
tree | 26bf655bcfff6c0a7f91288a04b0ad5abee2bca3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mac80211: Replace __get_unaligned_cpu32 in mesh_pathtbl.c (diff) | |
download | wireguard-linux-bf55d51f080eb4a8b722b602508930cc0d50c655.tar.xz wireguard-linux-bf55d51f080eb4a8b722b602508930cc0d50c655.zip |
wifi: mwifiex: deduplicate code in mwifiex_cmd_tx_rate_cfg()
The code block inside the if/else is the same with just using
pbitmap_rates if non NULL or priv->bitmap_rates otherwise. Deduplicate
the code by picking the correct pointer first and then using it
unconditionally.
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Brian Norris <briannorris@chromium.org>
Link: https://patch.msgid.link/20250410-mwifiex-cleanup-1-v6-1-a6bbd4ac4d37@pengutronix.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions