summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192ce/trx.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/rtl8192ce/trx.c
parent99057920a2f7360977979dc4c2ba60d5f9dc9e23 (diff)
downloadop-kernel-dev-f1f21770b11ca83d688b2791b163c2b892ca6fa6.zip
op-kernel-dev-f1f21770b11ca83d688b2791b163c2b892ca6fa6.tar.gz
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/rtl8192ce/trx.c')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192ce/trx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
index e88dcd0..d25aeeb 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192ce/trx.c
@@ -400,9 +400,8 @@ bool rtl92ce_rx_query_desc(struct ieee80211_hw *hw,
* are use (RX_FLAG_HT)
* Notice: this is diff with windows define
*/
- rx_status->rate_idx = rtlwifi_rate_mapping(hw,
- stats->is_ht, stats->rate,
- stats->isfirst_ampdu);
+ rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht,
+ stats->rate);
rx_status->mactime = stats->timestamp_low;
if (phystatus) {
OpenPOWER on IntegriCloud