rtl8188eu: Remove wrappers arounf vmalloc()

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2018-12-31 18:01:37 -06:00
parent 1f6c1424cc
commit d57fc28a11
4 changed files with 8 additions and 16 deletions

View file

@ -1406,9 +1406,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;
}
@ -1418,9 +1418,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;
}
memset(map, 0xff, map_size);