bHWPwrPindetect is always 0 for the r8188eu driver. This makes a lot of code unreachable. Tested with Edimax EW-7811Un V2 on an ARM32 embedded system. Martin Kaiser (4): staging: r8188eu: bHWPwrPindetect is always false staging: r8188eu: brfoffbyhw is always false staging: r8188eu: remove rtw_hw_suspend staging: r8188eu: remove rtw_hw_resume drivers/staging/r8188eu/core/rtw_cmd.c | 10 -- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 20 ---- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 4 +- drivers/staging/r8188eu/hal/usb_halinit.c | 14 --- drivers/staging/r8188eu/include/osdep_intf.h | 2 - drivers/staging/r8188eu/include/rtw_pwrctrl.h | 2 - drivers/staging/r8188eu/os_dep/ioctl_linux.c | 7 -- drivers/staging/r8188eu/os_dep/usb_intf.c | 99 ------------------- 8 files changed, 2 insertions(+), 156 deletions(-) -- 2.20.1