summaryrefslogtreecommitdiff
path: root/net/mac80211/key.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-06-16 16:10:30 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-07-17 15:37:54 +0200
commit16bf948081d0ea0f6cdef54b79a0250d4b099970 (patch)
treeff2d5d7365935190d6f8a7624c912f55cb2d2bd8 /net/mac80211/key.c
parentcf47161ad26c293dd5f98186c0cc45d125da952c (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.c1
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 &&