From: Johannes Berg <johannes.berg@xxxxxxxxx> This is a trivial wrapper function, inline it. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- net/mac80211/ieee80211_i.h | 7 +++++-- net/mac80211/util.c | 6 ------ 2 files changed, 5 insertions(+), 8 deletions(-) --- a/net/mac80211/ieee80211_i.h 2012-03-26 12:25:01.000000000 +0200 +++ b/net/mac80211/ieee80211_i.h 2012-03-26 12:25:10.000000000 +0200 @@ -1432,11 +1432,14 @@ void ieee80211_stop_queue_by_reason(stru enum queue_stop_reason reason); void ieee80211_add_pending_skb(struct ieee80211_local *local, struct sk_buff *skb); -void ieee80211_add_pending_skbs(struct ieee80211_local *local, - struct sk_buff_head *skbs); void ieee80211_add_pending_skbs_fn(struct ieee80211_local *local, struct sk_buff_head *skbs, void (*fn)(void *data), void *data); +static inline void ieee80211_add_pending_skbs(struct ieee80211_local *local, + struct sk_buff_head *skbs) +{ + ieee80211_add_pending_skbs_fn(local, skbs, NULL, NULL); +} void ieee80211_send_auth(struct ieee80211_sub_if_data *sdata, u16 transaction, u16 auth_alg, --- a/net/mac80211/util.c 2012-03-26 12:25:00.000000000 +0200 +++ b/net/mac80211/util.c 2012-03-26 12:25:10.000000000 +0200 @@ -404,12 +404,6 @@ void ieee80211_add_pending_skbs_fn(struc spin_unlock_irqrestore(&local->queue_stop_reason_lock, flags); } -void ieee80211_add_pending_skbs(struct ieee80211_local *local, - struct sk_buff_head *skbs) -{ - ieee80211_add_pending_skbs_fn(local, skbs, NULL, NULL); -} - void ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, enum queue_stop_reason reason) { -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html