From: Johannes Berg Date: Wed, 30 Jan 2013 08:03:08 +0000 (+0100) Subject: mac80211: remove unused SSID from BSS X-Git-Tag: v4.13~10143^2~31^2^2~80^2~8 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=3146a7da83ba2dd266ef436d4ac8e7e09bd15825;p=mirror_ubuntu-bionic-kernel.git mac80211: remove unused SSID from BSS 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 --- diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 25a0647ada8f..8faf360e0b4c 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -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;