diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-01-29 16:07:43 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 20:19:21 (GMT) |
commit | 38f3714d66b5679aee2a4fe23b1235c3829fcce4 (patch) | |
tree | 375e30764e348fd4afb4babb3a54b056e3332894 /net/mac80211/ieee80211.c | |
parent | 145de9b693943f052c2c15efbc31b2851fedb6e0 (diff) | |
download | linux-fsl-qoriq-38f3714d66b5679aee2a4fe23b1235c3829fcce4.tar.xz |
mac80211: dissolve pre-rx handlers
These handlers do not really return a status and the compiler
can do a much better job when they're simply static functions
that it can inline if appropriate. Also makes the code shorter.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211.c')
-rw-r--r-- | net/mac80211/ieee80211.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c index f8e734f..3961d4c 100644 --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c @@ -1407,7 +1407,6 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, local->hw.queues = 1; /* default */ local->mdev = mdev; - local->rx_pre_handlers = ieee80211_rx_pre_handlers; local->rx_handlers = ieee80211_rx_handlers; local->tx_handlers = ieee80211_tx_handlers; |