mirror of
https://github.com/aircrack-ng/rtl8188eus.git
synced 2026-10-17 19:17:20 +00:00
Remove wrappers around vmalloc()
This commit is contained in:
1 parent
78b58d1213
commit
d30cd10cf0
4 files changed
+8
-38
No files matched your search
@@ -7880,7 +7880,7 @@ static int rtw_wx_set_priv(struct net_device *dev,
|
||||
return -EFAULT;
|
||||
|
||||
len = dwrq->length;
|
||||
ext = rtw_vmalloc(len);
|
||||
ext = vmalloc(len);
|
||||
if (!ext)
|
||||
return -ENOMEM;
|
||||
|
||||
@@ -7892,7 +7892,7 @@ static int rtw_wx_set_priv(struct net_device *dev,
|
||||
|
||||
|
||||
#ifdef CONFIG_DEBUG_RTW_WX_SET_PRIV
|
||||
ext_dbg = rtw_vmalloc(len);
|
||||
ext_dbg = vmalloc(len);
|
||||
if (!ext_dbg) {
|
||||
rtw_vmfree(ext, len);
|
||||
return -ENOMEM;
|
||||
|
||||
Reference in new issue
Block a user