This series cleans up all of the clang warnings that I noticed with x86_64 allmodconfig on the current staging-next. This has been build tested with both clang and gcc with x86_64 allmodconfig. Nathan Chancellor (4): staging: r8188eu: Remove _rtw_spinlock_free() staging: r8188eu: Remove unnecessary parentheses staging: r8188eu: Remove self assignment in get_rx_power_val_by_reg() staging: r8188eu: Remove pointless NULL check in rtw_check_join_candidate() drivers/staging/r8188eu/core/rtw_cmd.c | 2 - drivers/staging/r8188eu/core/rtw_mlme.c | 18 +---- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 2 +- drivers/staging/r8188eu/core/rtw_recv.c | 11 --- drivers/staging/r8188eu/core/rtw_security.c | 4 +- drivers/staging/r8188eu/core/rtw_sta_mgt.c | 77 ------------------- drivers/staging/r8188eu/core/rtw_wlan_util.c | 2 +- drivers/staging/r8188eu/core/rtw_xmit.c | 19 ----- drivers/staging/r8188eu/hal/odm.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 2 - drivers/staging/r8188eu/hal/usb_halinit.c | 2 +- .../staging/r8188eu/include/osdep_service.h | 1 - drivers/staging/r8188eu/os_dep/os_intfs.c | 2 - .../staging/r8188eu/os_dep/osdep_service.c | 4 - 14 files changed, 9 insertions(+), 139 deletions(-) base-commit: 11e14fc3e49481b6322bbd976bb7dd2f0d7ef3d2 -- 2.33.0.rc0