mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove wrapper around vfree
This call is so simple that there is no need, or use, for a wrapper. Link: https://lore.kernel.org/r/20210805183717.23007-3-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
4d3d23dd24
commit
34ec238387
@@ -307,8 +307,7 @@ void _rtw_free_mlme_priv(struct mlme_priv *pmlmepriv)
|
||||
if (pmlmepriv) {
|
||||
rtw_mfree_mlme_priv_lock(pmlmepriv);
|
||||
|
||||
if (pmlmepriv->free_bss_buf)
|
||||
rtw_vmfree(pmlmepriv->free_bss_buf, pmlmepriv->max_bss_cnt * sizeof(struct wlan_network));
|
||||
vfree(pmlmepriv->free_bss_buf);
|
||||
}
|
||||
exit:
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user