mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-30 19:06:01 +00:00
rtl8188eu: Remove the wrapper around memcmp()
The tricky part here is that the wrapper, _rtw_memcmp(), returns true if the two arguments are equal, whereas memcmp() returns false in that case. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
999a777041
commit
a010d15b64
35 changed files with 881 additions and 890 deletions
|
@ -566,7 +566,7 @@ u8 rtw_efuse_access(PADAPTER padapter, u8 bWrite, u16 start_addr, u16 cnts, u8 *
|
|||
if (start_addr > real_content_len)
|
||||
return _FAIL;
|
||||
|
||||
if (true == bWrite) {
|
||||
if (bWrite) {
|
||||
if ((start_addr + cnts) > max_available_size)
|
||||
return _FAIL;
|
||||
rw8 = &efuse_write8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue