mirror of
https://github.com/aircrack-ng/rtl8188eus.git
synced 2026-01-12 00:51:32 +00:00
Remove wrappers around vmalloc()
This commit is contained in:
@@ -3091,9 +3091,9 @@ u32 rtw_read_efuse_from_file(const char *path, u8 *buf, int map_size)
|
||||
goto exit;
|
||||
}
|
||||
|
||||
file_data = rtw_vmalloc(file_size);
|
||||
file_data = vmalloc(file_size);
|
||||
if (!file_data) {
|
||||
RTW_ERR("%s rtw_vmalloc(%d) fail\n", __func__, file_size);
|
||||
RTW_ERR("%s vmalloc(%d) fail\n", __func__, file_size);
|
||||
goto exit;
|
||||
}
|
||||
|
||||
@@ -3103,9 +3103,9 @@ u32 rtw_read_efuse_from_file(const char *path, u8 *buf, int map_size)
|
||||
goto exit;
|
||||
}
|
||||
|
||||
map = rtw_vmalloc(map_size);
|
||||
map = vmalloc(map_size);
|
||||
if (!map) {
|
||||
RTW_ERR("%s rtw_vmalloc(%d) fail\n", __func__, map_size);
|
||||
RTW_ERR("%s vmalloc(%d) fail\n", __func__, map_size);
|
||||
goto exit;
|
||||
}
|
||||
_rtw_memset(map, 0xff, map_size);
|
||||
|
||||
Reference in New Issue
Block a user