diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-07 01:45:16 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 19:02:30 (GMT) |
commit | a7c1cfc9616ee76213a6d4fd4c17f13fdc92ddce (patch) | |
tree | 90ddc3aac3a7929479852aae8f3e89b3fa9008a8 /net/mac80211/mlme.c | |
parent | 3e5d7649a64e558e4146ddfad4dfcf13fc65dd47 (diff) | |
download | linux-fsl-qoriq-a7c1cfc9616ee76213a6d4fd4c17f13fdc92ddce.tar.xz |
mac80211: remove dead code from mlme
The ap_capab and last_probe struct members are unused.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 2448645..29575ee 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -879,7 +879,6 @@ static void ieee80211_set_associated(struct ieee80211_sub_if_data *sdata, ieee80211_rx_bss_put(local, bss); } - ifmgd->last_probe = jiffies; ieee80211_led_assoc(local, 1); sdata->vif.bss_conf.assoc = 1; @@ -1488,7 +1487,6 @@ static void ieee80211_rx_mgmt_assoc_resp(struct ieee80211_sub_if_data *sdata, printk(KERN_DEBUG "%s: associated\n", sdata->dev->name); ifmgd->aid = aid; - ifmgd->ap_capab = capab_info; kfree(ifmgd->assocresp_ies); ifmgd->assocresp_ies_len = len - (pos - (u8 *) mgmt); |