mac80211: remove unused SSID from BSS
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Jan 2013 08:03:08 +0000 (09:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Feb 2013 17:57:42 +0000 (18:57 +0100)
The ssid/ssid_len fields in the private BSS
struct are unused, contrary to the comment
we do look up the SSID in the few cases we
need it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h

index 25a0647ada8f50273c81ad7c9b3df8e7046b39e5..8faf360e0b4c62acfb3ebf191868526285ef6fff 100644 (file)
@@ -86,10 +86,6 @@ struct ieee80211_fragment_entry {
 
 
 struct ieee80211_bss {
-       /* don't want to look up all the time */
-       size_t ssid_len;
-       u8 ssid[IEEE80211_MAX_SSID_LEN];
-
        u32 device_ts;
 
        bool wmm_used;