1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/dvm
Dmitry Antipov 7ec2e4499e wifi: iwlwifi: dvm: fix -Wunused-const-variable gcc warning
Fix the following gcc 13.1 warning observed with W=1:

drivers/net/wireless/intel/iwlwifi/dvm/rs.c:207:39: warning:
‘iwl_rate_mcs’ defined but not used [-Wunused-const-variable=]

This table is actually used in 'rs_sta_dbgfs_scale_table_read()'
only if CONFIG_MAC80211_DEBUGFS is enabled, so the whole thing
may be moved close to its actual use.

Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://lore.kernel.org/r/20230619103900.300628-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-06-19 14:35:29 +02:00
..
agn.h wifi: iwlwifi: calib: Refactor iwl_calib_result usage for clarity 2022-09-07 10:16:27 +03:00
calib.c wifi: iwlwifi: calib: Refactor iwl_calib_result usage for clarity 2022-09-07 10:16:27 +03:00
calib.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
commands.h treewide: Replace open-coded flex arrays in unions 2021-10-18 12:28:53 -07:00
debugfs.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
dev.h wifi: iwlwifi: Track scan_cmd allocation size explicitly 2022-09-28 09:43:58 +03:00
devices.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
led.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
led.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
lib.c wifi: mac80211: make some SMPS code MLD-aware 2022-06-20 12:55:30 +02:00
mac80211.c wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
main.c wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
Makefile wireless: prefix header search paths with $(srctree)/ 2019-02-01 14:42:25 +02:00
power.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
power.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rs.c wifi: iwlwifi: dvm: fix -Wunused-const-variable gcc warning 2023-06-19 14:35:29 +02:00
rs.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
rx.c iwlwifi: dvm: use struct_size over open coded arithmetic 2022-02-18 10:40:55 +02:00
rxon.c wifi: mac80211: return a beacon for a specific link 2022-06-20 12:57:08 +02:00
scan.c wifi: iwlwifi: Track scan_cmd allocation size explicitly 2022-09-28 09:43:58 +03:00
sta.c wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace 2023-04-19 09:42:28 +02:00
tt.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tt.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
tx.c iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
ucode.c wifi: iwlwifi: calib: Refactor iwl_calib_result usage for clarity 2022-09-07 10:16:27 +03:00