From: Johannes Berg Date: Tue, 29 Jan 2013 21:33:30 +0000 (+0100) Subject: mac80211: remove last_probe_resp from bss X-Git-Tag: v3.9-rc2~24^2~15^2^2~24^2~100 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ce9877c0cd68f52e1818f0e175fc7b2f85b0e655;p=profile%2Fivi%2Fkernel-x86-ivi.git mac80211: remove last_probe_resp from bss We track this, but never use it, so we can just remove it. Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 5ce0b6b..12666c2 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -95,8 +95,6 @@ struct ieee80211_bss { bool wmm_used; bool uapsd_supported; - unsigned long last_probe_resp; - #ifdef CONFIG_MAC80211_MESH u8 *mesh_id; size_t mesh_id_len; diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c index 607684c..f69a1b9 100644 --- a/net/mac80211/scan.c +++ b/net/mac80211/scan.c @@ -146,9 +146,6 @@ ieee80211_bss_info_update(struct ieee80211_local *local, bss->valid_data |= IEEE80211_BSS_VALID_WMM; } - if (!beacon) - bss->last_probe_resp = jiffies; - return bss; }