This series contains cleanups for rtl8188eu_interface_configure and the functions that it calls. I tried to fix the error handling and to summarize small functions and common code. Martin Kaiser (13): staging: r8188eu: Hal_MappingOutPipe should return an int staging: r8188eu: process HalUsbSetQueuePipeMapping8188EUsb's return value staging: r8188eu: merge two small functions staging: r8188eu: move endpoint init functions to usb_halinit.c staging: r8188eu: summarize endpoint-related settings staging: r8188eu: remove OutEpNumber staging: r8188eu: remove comments about endpoint mapping staging: r8188eu: summarize common Queue2Pipe settings staging: r8188eu: simplify three_out_pipe staging: r8188eu: simplify two_out_pipe staging: r8188eu: remove _InitNormalChipOneOutEpPriority staging: r8188eu: we always use HQ and NQ for two endpoints staging: r8188eu: simplify _InitNormalChipTwoOutEpPriority drivers/staging/r8188eu/hal/hal_com.c | 110 ------------- drivers/staging/r8188eu/hal/usb_halinit.c | 152 ++++++++---------- drivers/staging/r8188eu/include/hal_com.h | 2 - drivers/staging/r8188eu/include/hal_intf.h | 2 +- .../staging/r8188eu/include/rtl8188e_hal.h | 1 - drivers/staging/r8188eu/os_dep/usb_intf.c | 4 +- 6 files changed, 75 insertions(+), 196 deletions(-) -- 2.30.2