This collection consists of the previous patches that needed to be refactored plus the correct way to remove rtw_buf_free(). Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Larry Finger (5): staging: r8188eu: Remove wrappers for kalloc() and kzalloc() staging: r8188eu: Remove wrapper around vfree staging: r8188eu: Remove all calls to _rtw_spinlock_free() staging: r8188eu: Remove more empty routines staging: r8188eu: Remove rtw_buf_free() drivers/staging/r8188eu/core/rtw_ap.c | 8 +-- drivers/staging/r8188eu/core/rtw_br_ext.c | 2 +- drivers/staging/r8188eu/core/rtw_cmd.c | 14 ++-- drivers/staging/r8188eu/core/rtw_efuse.c | 4 +- drivers/staging/r8188eu/core/rtw_mlme.c | 19 ++--- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 39 +++++------ drivers/staging/r8188eu/core/rtw_mp.c | 5 +- drivers/staging/r8188eu/core/rtw_p2p.c | 8 +-- drivers/staging/r8188eu/core/rtw_recv.c | 16 +---- drivers/staging/r8188eu/core/rtw_sta_mgt.c | 48 +------------ drivers/staging/r8188eu/core/rtw_wlan_util.c | 2 +- drivers/staging/r8188eu/core/rtw_xmit.c | 26 ++----- drivers/staging/r8188eu/hal/odm_interface.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_cmd.c | 2 +- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 10 +-- drivers/staging/r8188eu/hal/rtl8188eu_recv.c | 3 +- drivers/staging/r8188eu/hal/usb_halinit.c | 2 +- .../staging/r8188eu/include/osdep_service.h | 10 --- drivers/staging/r8188eu/os_dep/ioctl_linux.c | 70 +++++++++---------- drivers/staging/r8188eu/os_dep/mlme_linux.c | 3 +- drivers/staging/r8188eu/os_dep/os_intfs.c | 2 - .../staging/r8188eu/os_dep/osdep_service.c | 46 ++---------- drivers/staging/r8188eu/os_dep/usb_intf.c | 6 +- drivers/staging/r8188eu/os_dep/xmit_linux.c | 2 +- 24 files changed, 105 insertions(+), 244 deletions(-) -- 2.32.0