From: Fabio Aiuto Date: Wed, 23 Jun 2021 13:01:03 +0000 (+0200) Subject: staging: rtl8723bs: convert function to static X-Git-Tag: v5.15~790^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c5a11c0ca25621a44d83ae17c2ca6422d7bbbab;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Fabio Aiuto Link: https://lore.kernel.org/r/20210623130103.7727-1-fabioaiuto83@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/rtl8723bs/core/rtw_ap.c index d572a9b..a6fcb5e 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);