mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-03 08:00:08 +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
@@ -194,8 +194,7 @@ void _rtw_free_recv_priv(struct recv_priv *precvpriv)
|
||||
|
||||
rtw_os_recv_resource_free(precvpriv);
|
||||
|
||||
if (precvpriv->pallocated_frame_buf)
|
||||
rtw_vmfree(precvpriv->pallocated_frame_buf, NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_SZ);
|
||||
vfree(precvpriv->pallocated_frame_buf);
|
||||
|
||||
rtw_hal_free_recv_priv(padapter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user