Commit cd64cae3 authored by Lee Jones's avatar Lee Jones Committed by Kalle Valo

ath9k: dynack: Demote non-compliant function header

Fixes the following W=1 kernel build warning(s):

 drivers/net/wireless/ath/ath9k/dynack.c:52: warning: Function parameter or member 'old' not described in 'ath_dynack_ewma'
 drivers/net/wireless/ath/ath9k/dynack.c:52: warning: Function parameter or member 'new' not described in 'ath_dynack_ewma'

Cc: QCA ath9k Development <ath9k-devel@qca.qualcomm.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201102112410.1049272-40-lee.jones@linaro.org
parent 8cc107b5
...@@ -44,9 +44,8 @@ static u32 ath_dynack_get_max_to(struct ath_hw *ah) ...@@ -44,9 +44,8 @@ static u32 ath_dynack_get_max_to(struct ath_hw *ah)
return 600; return 600;
} }
/** /*
* ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation * ath_dynack_ewma - EWMA (Exponentially Weighted Moving Average) calculation
*
*/ */
static inline int ath_dynack_ewma(int old, int new) static inline int ath_dynack_ewma(int old, int new)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment