mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove wrapper around memcmp()
Caution: The wrapper inverts the state. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
24391e61f4
commit
89efde68f8
17 changed files with 137 additions and 149 deletions
|
@ -113,16 +113,6 @@ void rtw_mfree2d(void *pbuf, int h, int w, int size)
|
|||
kfree(pbuf);
|
||||
}
|
||||
|
||||
int _rtw_memcmp(void *dst, void *src, u32 sz)
|
||||
{
|
||||
/* under Linux/GNU/GLibc, the return value of memcmp for two same
|
||||
* mem. chunk is 0 */
|
||||
if (!(memcmp(dst, src, sz)))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
For the following list_xxx operations,
|
||||
caller must guarantee the atomic context.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue