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
commands.h
debugfs.c
dev.h wifi: iwlwifi: Track scan_cmd allocation size explicitly 2022-09-28 09:43:58 +03:00
devices.c
led.c
led.h
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
power.c
power.h
rs.c wifi: iwlwifi: dvm: fix -Wunused-const-variable gcc warning 2023-06-19 14:35:29 +02:00
rs.h
rx.c
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
tt.h
tx.c
ucode.c wifi: iwlwifi: calib: Refactor iwl_calib_result usage for clarity 2022-09-07 10:16:27 +03:00