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>
This commit is contained in:
@@ -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 &&
|
||||
|
Reference in New Issue
Block a user