summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/base.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2014-12-18 03:05:31 -0600
committerKalle Valo <kvalo@codeaurora.org>2014-12-24 18:30:54 +0200
commitf1f21770b11ca83d688b2791b163c2b892ca6fa6 (patch)
tree0c0947aec8d464ed8a8aef3b43f27cc6abc05634 /drivers/net/wireless/rtlwifi/base.c
parent99057920a2f7360977979dc4c2ba60d5f9dc9e23 (diff)
downloadlinux-f1f21770b11ca83d688b2791b163c2b892ca6fa6.tar.bz2
rtlwifi: Remove extraneous argument for rate mapping
Four of the drivers (92ce, 92cu, 92de, and 92se) supply an argument to the rate-mapping routine that is never used, thus it can be removed. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/base.c')
-rw-r--r--drivers/net/wireless/rtlwifi/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/base.c b/drivers/net/wireless/rtlwifi/base.c
index 40b6d1d006d7..d4c8e95f22de 100644
--- a/drivers/net/wireless/rtlwifi/base.c
+++ b/drivers/net/wireless/rtlwifi/base.c
@@ -883,7 +883,7 @@ static u8 _rtl_get_highest_n_rate(struct ieee80211_hw *hw,
* DESC92_RATEMCS0-->DESC92_RATEMCS15 ==> idx is 0-->15
*/
int rtlwifi_rate_mapping(struct ieee80211_hw *hw,
- bool isht, u8 desc_rate, bool first_ampdu)
+ bool isht, u8 desc_rate)
{
int rate_idx;