Remove wrapper for memset()

Link: 545d963a9e (diff-16d649c4743131c1aae5f812af5596dae6423bb63eaaf2990b8c89c9a681a913)
This commit is contained in:
Carlos Garcés
2021-10-11 12:07:17 +02:00
parent 76f68bbfcf
commit cf246719f1
58 changed files with 621 additions and 642 deletions

View File

@@ -2477,7 +2477,7 @@ ssize_t proc_set_btinfo_evt(struct file *file, const char __user *buffer, size_t
if (buffer && !copy_from_user(tmp, buffer, count)) {
int num = 0;
_rtw_memset(btinfo, 0, 8);
memset(btinfo, 0, 8);
num = sscanf(tmp, "%hhx %hhx %hhx %hhx %hhx %hhx %hhx %hhx"
, &btinfo[0], &btinfo[1], &btinfo[2], &btinfo[3]
@@ -4298,7 +4298,7 @@ ssize_t proc_set_phydm_cmd(struct file *file, const char __user *buffer, size_t
if (NULL == phydm_msg)
return -ENOMEM;
} else
_rtw_memset(phydm_msg, 0, PHYDM_MSG_LEN);
memset(phydm_msg, 0, PHYDM_MSG_LEN);
phydm_cmd(phydm, tmp, count, 1, phydm_msg, PHYDM_MSG_LEN);