|
@@ -65,17 +65,9 @@ static void run_again(struct ieee80211_local *local,
|
|
|
mod_timer(&local->work_timer, timeout);
|
|
|
}
|
|
|
|
|
|
-static void work_free_rcu(struct rcu_head *head)
|
|
|
-{
|
|
|
- struct ieee80211_work *wk =
|
|
|
- container_of(head, struct ieee80211_work, rcu_head);
|
|
|
-
|
|
|
- kfree(wk);
|
|
|
-}
|
|
|
-
|
|
|
void free_work(struct ieee80211_work *wk)
|
|
|
{
|
|
|
- call_rcu(&wk->rcu_head, work_free_rcu);
|
|
|
+ kfree_rcu(wk, rcu_head);
|
|
|
}
|
|
|
|
|
|
static int ieee80211_compatible_rates(const u8 *supp_rates, int supp_rates_len,
|