aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs
diff options
context:
space:
mode:
authorFabio Aiuto <fabioaiuto83@gmail.com>2021-06-23 15:01:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-24 14:44:33 +0200
commit0c5a11c0ca25621a44d83ae17c2ca6422d7bbbab (patch)
tree9c1c328f61ea30c3e2b4f31202dd46242c0723ba /drivers/staging/rtl8723bs
parentstaging: rtl8723bs: remove item from TODO list (diff)
downloadlinux-dev-0c5a11c0ca25621a44d83ae17c2ca6422d7bbbab.tar.xz
linux-dev-0c5a11c0ca25621a44d83ae17c2ca6422d7bbbab.zip
staging: rtl8723bs: convert function to static
function chk_sta_is_alive() is used only inside core/rtw_ap.c so remove the prototype and convert it to static. Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com> Link: https://lore.kernel.org/r/20210623130103.7727-1-fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_ap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c
index d572a9bf25ee..a6fcb5e9d637 100644
--- a/drivers/staging/rtl8723bs/core/rtw_ap.c
+++ b/drivers/staging/rtl8723bs/core/rtw_ap.c
@@ -164,8 +164,7 @@ static void update_BCNTIM(struct adapter *padapter)
pnetwork_mlmeext->IELength = offset + remainder_ielen;
}
-u8 chk_sta_is_alive(struct sta_info *psta);
-u8 chk_sta_is_alive(struct sta_info *psta)
+static u8 chk_sta_is_alive(struct sta_info *psta)
{
sta_update_last_rx_pkts(psta);