This series consists of various cleanups. Tested on x86_64 with InterTech DMG-02. v2: Removed patch 11 and 12. As mentionied by Pavel the hal data allocation is never checked for success. I'll work on that and send a separate series that also removes the GET_HAL_DATA macro. Michael Straube (10): staging: r8188eu: remove RF_PATH_{C,D} staging: r8188eu: struct odm_mac_status_info is not used staging: r8188eu: remove macro PHY_SetRFReg staging: r8188eu: remove macro PHY_QueryRFReg staging: r8188eu: remove macro PHY_SetBBReg staging: r8188eu: remove macro PHY_QueryBBReg staging: r8188eu: remove duplicate defines staging: r8188eu: bWIFI_Direct is set but never used staging: r8188eu: bWIFI_Display is set but never used staging: r8188eu: remove unused macro IS_FW_81xxC drivers/staging/r8188eu/core/rtw_p2p.c | 3 - drivers/staging/r8188eu/hal/HalPhyRf_8188e.c | 6 +- drivers/staging/r8188eu/hal/odm.c | 8 +-- drivers/staging/r8188eu/hal/odm_interface.c | 12 ++-- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 8 --- drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 60 ++++++------------- drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 26 ++++---- drivers/staging/r8188eu/hal/usb_halinit.c | 12 ++-- .../staging/r8188eu/include/Hal8188EPhyCfg.h | 16 ----- drivers/staging/r8188eu/include/hal_intf.h | 2 - drivers/staging/r8188eu/include/odm.h | 8 --- drivers/staging/r8188eu/include/rtl8188e_dm.h | 7 +-- .../staging/r8188eu/include/rtl8188e_hal.h | 2 +- 13 files changed, 49 insertions(+), 121 deletions(-) -- 2.34.1