ieee80211_edca_table is unused within the code so just #if 0 it out for but but keeping it around for future reference in case it ever becomes useful.
ieee80211_output.c:311:5: error: unused variable 'ieee80211_edca_table' [-Werror,-Wunused-const-variable] OK? Index: ieee80211_output.c =================================================================== RCS file: /home/cvs/src/sys/net80211/ieee80211_output.c,v retrieving revision 1.88 diff -u -p -r1.88 ieee80211_output.c --- ieee80211_output.c 17 Jul 2010 16:30:01 -0000 1.88 +++ ieee80211_output.c 3 Dec 2013 23:20:22 -0000 @@ -306,6 +306,7 @@ ieee80211_mgmt_output(struct ifnet *ifp, * 11G 15* 1023 (*) aCWmin(1) * Turbo A/G 7 1023 (Atheros proprietary mode) */ +#if 0 static const struct ieee80211_edca_ac_params ieee80211_edca_table[IEEE80211_MODE_MAX][EDCA_NUM_AC] = { [IEEE80211_MODE_11B] = { @@ -333,6 +334,7 @@ static const struct ieee80211_edca_ac_pa [EDCA_AC_VO] = { 2, 2, 1, 47 } } }; +#endif #ifndef IEEE80211_STA_ONLY static const struct ieee80211_edca_ac_params -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.