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:
Larry Finger
2021-08-05 13:37:14 -05:00
committed by Carlos Garcés
parent 4d3d23dd24
commit 34ec238387
17 changed files with 38 additions and 69 deletions

View File

@@ -164,7 +164,7 @@ void rtw_hal_data_deinit(_adapter *padapter)
#ifdef CONFIG_LOAD_PHY_PARA_FROM_FILE
phy_free_filebuf(padapter);
#endif
rtw_vmfree(padapter->HalData, padapter->hal_data_sz);
vfree(padapter->HalData);
padapter->HalData = NULL;
padapter->hal_data_sz = 0;
}