mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 14:03:05 +00:00
rtl8188eu: Remove wrapper for memset()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
4e305e82d0
commit
545d963a9e
27 changed files with 195 additions and 202 deletions
|
@ -42,7 +42,7 @@ static void _init_txservq(struct tx_servq *ptxservq)
|
|||
void _rtw_init_sta_xmit_priv(struct sta_xmit_priv *psta_xmitpriv)
|
||||
{
|
||||
|
||||
_rtw_memset((unsigned char *)psta_xmitpriv, 0, sizeof (struct sta_xmit_priv));
|
||||
memset((unsigned char *)psta_xmitpriv, 0, sizeof (struct sta_xmit_priv));
|
||||
spin_lock_init(&psta_xmitpriv->lock);
|
||||
_init_txservq(&psta_xmitpriv->be_q);
|
||||
_init_txservq(&psta_xmitpriv->bk_q);
|
||||
|
@ -822,7 +822,7 @@ s32 rtw_make_wlanhdr (struct adapter *padapter , u8 *hdr, struct pkt_attrib *pat
|
|||
}
|
||||
}
|
||||
|
||||
_rtw_memset(hdr, 0, WLANHDR_OFFSET);
|
||||
memset(hdr, 0, WLANHDR_OFFSET);
|
||||
|
||||
SetFrameSubType(fctrl, pattrib->subtype);
|
||||
|
||||
|
@ -1399,7 +1399,7 @@ struct xmit_frame *rtw_alloc_xmitframe(struct xmit_priv *pxmitpriv)/* _queue *pf
|
|||
pxframe->buf_addr = NULL;
|
||||
pxframe->pxmitbuf = NULL;
|
||||
|
||||
_rtw_memset(&pxframe->attrib, 0, sizeof(struct pkt_attrib));
|
||||
memset(&pxframe->attrib, 0, sizeof(struct pkt_attrib));
|
||||
/* pxframe->attrib.psta = NULL; */
|
||||
|
||||
pxframe->frame_tag = DATA_FRAMETAG;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue