[RFC PATCH] rtl8xxxu: rtl8xxxu_desc_to_mcsrate() can be static

From: kbuild test robot
Date: Wed Mar 18 2020 - 20:52:44 EST



Fixes: b509af994715 ("rtl8xxxu: Feed current txrate information for mac80211")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
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;