This series removes the function GetHalDefVar8188EUsb(). This is part of the ongoing effort to get rid of the unwanted hal layer. Tested on x86_64 with Inter-Tech DMG-02. v2: - remove dead code first - use better function names - make one function static Michael Straube (4): staging: r8188eu: cur_ant is set but never used staging: r8188eu: remove HAL_DEF_IS_SUPPORT_ANT_DIV staging: r8188eu: remove HAL_DEF_CURRENT_ANTENNA staging: r8188eu: remove GetHalDefVar8188EUsb() drivers/staging/r8188eu/core/rtw_cmd.c | 11 ++++++++--- drivers/staging/r8188eu/core/rtw_mlme.c | 19 ++++++++++--------- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 2 +- drivers/staging/r8188eu/hal/usb_halinit.c | 20 -------------------- drivers/staging/r8188eu/include/hal_intf.h | 3 --- drivers/staging/r8188eu/include/rtw_mlme.h | 2 ++ drivers/staging/r8188eu/os_dep/ioctl_linux.c | 8 +------- 7 files changed, 22 insertions(+), 43 deletions(-) -- 2.35.1