diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-02-26 05:24:35 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-27 14:06:42 -0500 |
commit | 005e472b45131250fe09c194f8b872b86fd266c1 (patch) | |
tree | dbeb7fe7ee8fdf8ff39c4ded9e647942ad15e639 /net/mac80211/tx.c | |
parent | 3431683759596409427b6726e582f3ee66082728 (diff) |
mac80211: remove local_to_hw
That's a lot longer than open-coding it and
doesn't really add value, so just remove it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r-- | net/mac80211/tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index c6eadac9ca4e..7c021f255716 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -625,7 +625,7 @@ ieee80211_tx_h_rate_ctrl(struct ieee80211_tx_data *tx) | |||
625 | tx->local->hw.wiphy->frag_threshold); | 625 | tx->local->hw.wiphy->frag_threshold); |
626 | 626 | ||
627 | /* set up the tx rate control struct we give the RC algo */ | 627 | /* set up the tx rate control struct we give the RC algo */ |
628 | txrc.hw = local_to_hw(tx->local); | 628 | txrc.hw = &tx->local->hw; |
629 | txrc.sband = sband; | 629 | txrc.sband = sband; |
630 | txrc.bss_conf = &tx->sdata->vif.bss_conf; | 630 | txrc.bss_conf = &tx->sdata->vif.bss_conf; |
631 | txrc.skb = tx->skb; | 631 | txrc.skb = tx->skb; |