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.

Link: https://lore.kernel.org/r/20210623130103.7727-1-fabioaiuto83@gmail.com
This commit is contained in:
Carlos Garces 2021-10-20 19:33:46 +02:00
parent 539ec6269e
commit 5a65660af3

View File

@ -268,8 +268,7 @@ void rtw_remove_bcn_ie(_adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index)
}
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)
{
u8 ret = _FALSE;
#ifdef DBG_EXPIRATION_CHK