diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-06-16 16:10:30 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-07-17 15:37:54 +0200 |
commit | 16bf948081d0ea0f6cdef54b79a0250d4b099970 (patch) | |
tree | ff2d5d7365935190d6f8a7624c912f55cb2d2bd8 /net/mac80211/key.c | |
parent | cf47161ad26c293dd5f98186c0cc45d125da952c (diff) |
mac80211: remove sta_info.gtk_idx
This struct member is only assigned, never used otherwise;
remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/key.c')
-rw-r--r-- | net/mac80211/key.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/key.c b/net/mac80211/key.c index b22df3a79a41..44388d6a1d8e 100644 --- a/net/mac80211/key.c +++ b/net/mac80211/key.c @@ -336,7 +336,6 @@ static void ieee80211_key_replace(struct ieee80211_sub_if_data *sdata, ieee80211_check_fast_xmit(sta); } else { rcu_assign_pointer(sta->gtk[idx], new); - sta->gtk_idx = idx; } } else { defunikey = old && |