Simplify the code to detect and use usb in endpoints. Martin Kaiser (8): staging: r8188eu: rtw_read_port needs no cnt parameter staging: r8188eu: only the bulk in ep is used for network data staging: r8188eu: get the rcv bulk pipe handle directly staging: r8188eu: remove code to get int in pipe handle staging: r8188eu: if2 is not used staging: r8188eu: remove ep_num array staging: r8188eu: don't store nr_endpoint in a global struct staging: r8188eu: require a single bulk in endpoint drivers/staging/r8188eu/hal/usb_halinit.c | 24 ++++--------------- drivers/staging/r8188eu/hal/usb_ops_linux.c | 10 ++++---- drivers/staging/r8188eu/include/drv_types.h | 6 +---- .../staging/r8188eu/include/rtl8188e_recv.h | 2 -- drivers/staging/r8188eu/include/rtw_io.h | 2 +- drivers/staging/r8188eu/include/rtw_recv.h | 1 - drivers/staging/r8188eu/os_dep/usb_intf.c | 24 +++++++++---------- .../staging/r8188eu/os_dep/usb_ops_linux.c | 6 +---- 8 files changed, 24 insertions(+), 51 deletions(-) -- 2.20.1