This series does some cleanup on the memory allocation paths within the driver, by converting all callers of rtw_vmalloc and rtw_zvmalloc to use vmalloc and vzalloc respectively, and then removing the functions and associated declarations and macro definitions. It also removes an unused macro (rtw_update_mem_stat) and its associated flags. Phillip Potter (7): staging: r8188eu: convert only rtw_vmalloc call to vmalloc staging: r8188eu: remove rtw_vmalloc preprocessor definition staging: r8188eu: remove function _rtw_vmalloc staging: r8188eu: convert all rtw_zvmalloc calls to vzalloc calls staging: r8188eu: remove rtw_zvmalloc preprocessor definition staging: r8188eu: remove function _rtw_zvmalloc staging: r8188eu: remove rtw_update_mem_stat macro and associated flags drivers/staging/r8188eu/core/rtw_mlme.c | 4 ++-- drivers/staging/r8188eu/core/rtw_mp.c | 2 +- drivers/staging/r8188eu/core/rtw_recv.c | 2 +- drivers/staging/r8188eu/core/rtw_sta_mgt.c | 2 +- drivers/staging/r8188eu/core/rtw_xmit.c | 8 +++---- drivers/staging/r8188eu/hal/odm_interface.c | 2 +- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 2 +- .../staging/r8188eu/include/osdep_service.h | 24 ------------------- drivers/staging/r8188eu/os_dep/ioctl_linux.c | 2 +- .../staging/r8188eu/os_dep/osdep_service.c | 18 +------------- drivers/staging/r8188eu/os_dep/usb_intf.c | 2 +- 11 files changed, 14 insertions(+), 54 deletions(-) -- 2.31.1