summaryrefslogtreecommitdiff
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2023-06-19 13:38:56 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-06-19 15:35:29 +0300
commit7ec2e4499e378768a985cd4679144713edb37035 (patch)
treeb2f3b8dd199098b01b49dddb955a6088612a1332 /net/mac80211/debugfs_sta.c
parentcf0b045ebf6bba7764151e1759c874c43964445a (diff)
downloadlinux-7ec2e4499e378768a985cd4679144713edb37035.tar.xz
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>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
0 files changed, 0 insertions, 0 deletions