mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Fix all W=1 warnings
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5c8ff88003
commit
fb786d0283
29 changed files with 217 additions and 507 deletions
|
@ -819,13 +819,9 @@ u64 rtw_division64(u64 x, u64 y)
|
|||
|
||||
void rtw_buf_free(u8 **buf, u32 *buf_len)
|
||||
{
|
||||
u32 ori_len;
|
||||
|
||||
if (!buf || !buf_len)
|
||||
return;
|
||||
|
||||
ori_len = *buf_len;
|
||||
|
||||
if (*buf) {
|
||||
*buf_len = 0;
|
||||
_rtw_mfree(*buf, *buf_len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue