staging: rtl8188eu: core: Replace function rtw_free_network_nolock()
Remove function rtw_free_network_nolock, as all it does is call _rtw_free_network_nolock, and rename _rtw_free_network_nolock to rtw_free_network_nolock. Keep the new rtw_free_network_nolock a static function and remove the old version from the header file. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4087a2faa4
commit
7a58b4abc7
|
@ -159,7 +159,8 @@ static void _rtw_free_network(struct mlme_priv *pmlmepriv, struct wlan_network *
|
|||
spin_unlock_bh(&free_queue->lock);
|
||||
}
|
||||
|
||||
void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv, struct wlan_network *pnetwork)
|
||||
static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
|
||||
struct wlan_network *pnetwork)
|
||||
{
|
||||
struct __queue *free_queue = &pmlmepriv->free_bss_pool;
|
||||
|
||||
|
@ -276,12 +277,6 @@ static struct wlan_network *rtw_alloc_network(struct mlme_priv *pmlmepriv)
|
|||
return _rtw_alloc_network(pmlmepriv);
|
||||
}
|
||||
|
||||
static void rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
|
||||
struct wlan_network *pnetwork)
|
||||
{
|
||||
_rtw_free_network_nolock(pmlmepriv, pnetwork);
|
||||
}
|
||||
|
||||
int rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork)
|
||||
{
|
||||
int ret = true;
|
||||
|
|
|
@ -335,9 +335,6 @@ void rtw_free_mlme_priv_ie_data(struct mlme_priv *pmlmepriv);
|
|||
|
||||
struct wlan_network *_rtw_alloc_network(struct mlme_priv *pmlmepriv);
|
||||
|
||||
void _rtw_free_network_nolock(struct mlme_priv *pmlmepriv,
|
||||
struct wlan_network *pnetwork);
|
||||
|
||||
int rtw_if_up(struct adapter *padapter);
|
||||
|
||||
u8 *rtw_get_capability_from_ie(u8 *ie);
|
||||
|
|
Loading…
Reference in New Issue