Remove empty rtw_mfree_xmit_priv_lock()

Remove rtw_mfree_xmit_priv_lock() because it is empty. Remove its only
call from within _rtw_free_xmit_priv().

port of 093991aaadf0fbb34184fa37a46e7a157da3f386
This commit is contained in:
Carlos Garces 2021-10-14 22:40:21 +02:00
parent 355a2df5ab
commit e73d0db27b

View File

@ -347,12 +347,6 @@ exit:
return res;
}
void rtw_mfree_xmit_priv_lock(struct xmit_priv *pxmitpriv);
void rtw_mfree_xmit_priv_lock(struct xmit_priv *pxmitpriv)
{
}
void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv)
{
int i;
@ -363,8 +357,6 @@ void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv)
rtw_hal_free_xmit_priv(padapter);
rtw_mfree_xmit_priv_lock(pxmitpriv);
if (pxmitpriv->pxmit_frame_buf == NULL)
goto out;