|
@@ -247,11 +247,8 @@ void _rtw_free_xmit_priv(struct xmit_priv *pxmitpriv)
|
|
|
pxmitbuf++;
|
|
|
}
|
|
|
|
|
|
- if (pxmitpriv->pallocated_frame_buf)
|
|
|
- vfree(pxmitpriv->pallocated_frame_buf);
|
|
|
-
|
|
|
- if (pxmitpriv->pallocated_xmitbuf)
|
|
|
- vfree(pxmitpriv->pallocated_xmitbuf);
|
|
|
+ vfree(pxmitpriv->pallocated_frame_buf);
|
|
|
+ vfree(pxmitpriv->pallocated_xmitbuf);
|
|
|
|
|
|
/* free xmit extension buff */
|
|
|
pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf;
|