mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Remove wrapper for memset()
Link: 545d963a9e (diff-16d649c4743131c1aae5f812af5596dae6423bb63eaaf2990b8c89c9a681a913)
This commit is contained in:
@@ -104,7 +104,7 @@ InsertEMContent_8192E(
|
||||
u4Byte dwtmp = 0;
|
||||
#endif
|
||||
|
||||
_rtw_memset(VirtualAddress, 0, EARLY_MODE_INFO_SIZE);
|
||||
memset(VirtualAddress, 0, EARLY_MODE_INFO_SIZE);
|
||||
if (pEMInfo->EMPktNum == 0)
|
||||
return;
|
||||
|
||||
@@ -210,7 +210,7 @@ void UpdateEarlyModeInfo8192E(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmi
|
||||
offset = pxmitpriv->agg_pkt[index].offset;
|
||||
pktlen = pxmitpriv->agg_pkt[index].pkt_len;
|
||||
|
||||
_rtw_memset(&eminfo, 0, sizeof(struct EMInfo));
|
||||
memset(&eminfo, 0, sizeof(struct EMInfo));
|
||||
if (pframe->agg_num > EARLY_MODE_MAX_PKT_NUM) {
|
||||
if (node_num_0 > EARLY_MODE_MAX_PKT_NUM) {
|
||||
eminfo.EMPktNum = EARLY_MODE_MAX_PKT_NUM;
|
||||
@@ -243,7 +243,7 @@ void UpdateEarlyModeInfo8192E(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmi
|
||||
|
||||
|
||||
}
|
||||
_rtw_memset(pxmitpriv->agg_pkt, 0, sizeof(struct agg_pkt_info) * MAX_AGG_PKT_NUM);
|
||||
memset(pxmitpriv->agg_pkt, 0, sizeof(struct agg_pkt_info) * MAX_AGG_PKT_NUM);
|
||||
|
||||
}
|
||||
#endif
|
||||
@@ -476,7 +476,7 @@ void rtl8192e_fill_fake_txdesc(
|
||||
struct xmit_priv *pxmitpriv = &padapter->xmitpriv;
|
||||
|
||||
/* Clear all status */
|
||||
_rtw_memset(pDesc, 0, TXDESC_SIZE);
|
||||
memset(pDesc, 0, TXDESC_SIZE);
|
||||
|
||||
SET_TX_DESC_OFFSET_92E(pDesc, (TXDESC_SIZE + OFFSET_SZ));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user