This set of patches removes some wrappers around simple actions, and replaces some of the home-built bit manipulation macros. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Larry Finger (10): staging: r8188eu: Remove wrappers for kalloc() and kzalloc() staging: r8188eu: Remove wrapper around vfree staging: r8188eu: Remove wrappers for atomic operations staging: r8188eu: Remove 4 empty routines from os_sep/service.c staging: r8188eu: Remove all calls to _rtw_spinlock_free() staging: r8188eu: Remove more empty routines staging: r8188eu: Remove rtw_division64() staging: r8188eu: Remove wrapper around do_div staging: r8188eu: Remove some unused and ugly macros staging: r8188eu: Remove some bit manipulation macros drivers/staging/r8188eu/core/rtw_ap.c | 8 +- drivers/staging/r8188eu/core/rtw_br_ext.c | 2 +- drivers/staging/r8188eu/core/rtw_cmd.c | 16 +-- drivers/staging/r8188eu/core/rtw_efuse.c | 4 +- drivers/staging/r8188eu/core/rtw_mlme.c | 15 +-- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 44 +++---- 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 +--- .../r8188eu/hal/Hal8188ERateAdaptive.c | 2 +- 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 | 5 +- .../r8188eu/include/Hal8188ERateAdaptive.h | 59 ++++----- drivers/staging/r8188eu/include/basic_types.h | 45 ------- drivers/staging/r8188eu/include/drv_types.h | 2 +- drivers/staging/r8188eu/include/odm_types.h | 12 +- .../staging/r8188eu/include/osdep_service.h | 70 ----------- .../staging/r8188eu/include/rtl8188e_xmit.h | 26 ++-- drivers/staging/r8188eu/include/rtw_cmd.h | 2 +- .../staging/r8188eu/include/rtw_mlme_ext.h | 2 +- drivers/staging/r8188eu/include/usb_ops.h | 4 +- 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 | 116 +----------------- drivers/staging/r8188eu/os_dep/rtw_android.c | 2 - drivers/staging/r8188eu/os_dep/usb_intf.c | 10 +- drivers/staging/r8188eu/os_dep/xmit_linux.c | 2 +- 34 files changed, 156 insertions(+), 489 deletions(-) -- 2.32.0