|
@@ -97,7 +97,6 @@ struct sta_info *sta_info_get(struct ieee80211_sub_if_data *sdata,
|
|
|
struct sta_info *sta;
|
|
|
|
|
|
sta = rcu_dereference_check(local->sta_hash[STA_HASH(addr)],
|
|
|
- rcu_read_lock_held() ||
|
|
|
lockdep_is_held(&local->sta_lock) ||
|
|
|
lockdep_is_held(&local->sta_mtx));
|
|
|
while (sta) {
|
|
@@ -105,7 +104,6 @@ struct sta_info *sta_info_get(struct ieee80211_sub_if_data *sdata,
|
|
|
memcmp(sta->sta.addr, addr, ETH_ALEN) == 0)
|
|
|
break;
|
|
|
sta = rcu_dereference_check(sta->hnext,
|
|
|
- rcu_read_lock_held() ||
|
|
|
lockdep_is_held(&local->sta_lock) ||
|
|
|
lockdep_is_held(&local->sta_mtx));
|
|
|
}
|
|
@@ -123,7 +121,6 @@ struct sta_info *sta_info_get_bss(struct ieee80211_sub_if_data *sdata,
|
|
|
struct sta_info *sta;
|
|
|
|
|
|
sta = rcu_dereference_check(local->sta_hash[STA_HASH(addr)],
|
|
|
- rcu_read_lock_held() ||
|
|
|
lockdep_is_held(&local->sta_lock) ||
|
|
|
lockdep_is_held(&local->sta_mtx));
|
|
|
while (sta) {
|
|
@@ -132,7 +129,6 @@ struct sta_info *sta_info_get_bss(struct ieee80211_sub_if_data *sdata,
|
|
|
memcmp(sta->sta.addr, addr, ETH_ALEN) == 0)
|
|
|
break;
|
|
|
sta = rcu_dereference_check(sta->hnext,
|
|
|
- rcu_read_lock_held() ||
|
|
|
lockdep_is_held(&local->sta_lock) ||
|
|
|
lockdep_is_held(&local->sta_mtx));
|
|
|
}
|