The definition of function rtw_mfree_mlme_priv_lock is empty. Remove it. Signed-off-by: Abdun Nihaal <abdun.nihaal@xxxxxxxxx> --- drivers/staging/r8188eu/core/rtw_mlme.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/r8188eu/core/rtw_mlme.c b/drivers/staging/r8188eu/core/rtw_mlme.c index e1e358c94ea4..0abad3c78f82 100644 --- a/drivers/staging/r8188eu/core/rtw_mlme.c +++ b/drivers/staging/r8188eu/core/rtw_mlme.c @@ -85,10 +85,6 @@ int _rtw_init_mlme_priv(struct adapter *padapter) return res; } -static void rtw_mfree_mlme_priv_lock(struct mlme_priv *pmlmepriv) -{ -} - static void rtw_free_mlme_ie_data(u8 **ppie, u32 *plen) { kfree(*ppie); @@ -118,8 +114,6 @@ void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv) rtw_free_mlme_priv_ie_data(pmlmepriv); if (pmlmepriv) { - rtw_mfree_mlme_priv_lock(pmlmepriv); - vfree(pmlmepriv->free_bss_buf); } -- 2.34.1