diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-01-29 16:37:04 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-01-31 08:07:14 -0500 |
commit | 0fe20add2c4b768ba8432ed15635caa46417ede7 (patch) | |
tree | a9e75ce63fbace4935ba01b480ac31fed6d29342 /net/mac80211/ieee80211_i.h | |
parent | ce9877c0cd68f52e1818f0e175fc7b2f85b0e655 (diff) |
mac80211: remove unused mesh data from bss
These pointers/values are never used, remove them.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 12666c2ed49e..e4ee16839c6d 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h | |||
@@ -95,12 +95,6 @@ struct ieee80211_bss { | |||
95 | bool wmm_used; | 95 | bool wmm_used; |
96 | bool uapsd_supported; | 96 | bool uapsd_supported; |
97 | 97 | ||
98 | #ifdef CONFIG_MAC80211_MESH | ||
99 | u8 *mesh_id; | ||
100 | size_t mesh_id_len; | ||
101 | u8 *mesh_cfg; | ||
102 | #endif | ||
103 | |||
104 | #define IEEE80211_MAX_SUPP_RATES 32 | 98 | #define IEEE80211_MAX_SUPP_RATES 32 |
105 | u8 supp_rates[IEEE80211_MAX_SUPP_RATES]; | 99 | u8 supp_rates[IEEE80211_MAX_SUPP_RATES]; |
106 | size_t supp_rates_len; | 100 | size_t supp_rates_len; |
@@ -151,31 +145,6 @@ enum ieee80211_bss_valid_data_flags { | |||
151 | IEEE80211_BSS_VALID_ERP = BIT(3) | 145 | IEEE80211_BSS_VALID_ERP = BIT(3) |
152 | }; | 146 | }; |
153 | 147 | ||
154 | static inline u8 *bss_mesh_cfg(struct ieee80211_bss *bss) | ||
155 | { | ||
156 | #ifdef CONFIG_MAC80211_MESH | ||
157 | return bss->mesh_cfg; | ||
158 | #endif | ||
159 | return NULL; | ||
160 | } | ||
161 | |||
162 | static inline u8 *bss_mesh_id(struct ieee80211_bss *bss) | ||
163 | { | ||
164 | #ifdef CONFIG_MAC80211_MESH | ||
165 | return bss->mesh_id; | ||
166 | #endif | ||
167 | return NULL; | ||
168 | } | ||
169 | |||
170 | static inline u8 bss_mesh_id_len(struct ieee80211_bss *bss) | ||
171 | { | ||
172 | #ifdef CONFIG_MAC80211_MESH | ||
173 | return bss->mesh_id_len; | ||
174 | #endif | ||
175 | return 0; | ||
176 | } | ||
177 | |||
178 | |||
179 | typedef unsigned __bitwise__ ieee80211_tx_result; | 148 | typedef unsigned __bitwise__ ieee80211_tx_result; |
180 | #define TX_CONTINUE ((__force ieee80211_tx_result) 0u) | 149 | #define TX_CONTINUE ((__force ieee80211_tx_result) 0u) |
181 | #define TX_DROP ((__force ieee80211_tx_result) 1u) | 150 | #define TX_DROP ((__force ieee80211_tx_result) 1u) |