[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200319005209.GA16405@256b6bfaef2b>
Date: Thu, 19 Mar 2020 08:52:09 +0800
From: kbuild test robot <lkp@...el.com>
To: Chris Chiu <chiu@...lessm.com>
Cc: kbuild-all@...ts.01.org, Jes.Sorensen@...il.com,
kvalo@...eaurora.org, davem@...emloft.net,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, linux@...lessm.com
Subject: [RFC PATCH] rtl8xxxu: rtl8xxxu_desc_to_mcsrate() can be static
Fixes: b509af994715 ("rtl8xxxu: Feed current txrate information for mac80211")
Signed-off-by: kbuild test robot <lkp@...el.com>
---
rtl8xxxu_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
index 49dfa32b572a3..4f0d0bce48b03 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
@@ -5404,7 +5404,7 @@ static struct ieee80211_rate rtl8xxxu_legacy_ratetable[] = {
{.bitrate = 540, .hw_value = 0x0b,},
};
-void rtl8xxxu_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss)
+static void rtl8xxxu_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss)
{
if (rate <= DESC_RATE_54M)
return;
Powered by blists - more mailing lists