]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: Remove inline function rtw_inc_and_chk_continual_urb_error()
authornavin patidar <navin.patidar@gmail.com>
Sat, 21 Jun 2014 12:49:35 +0000 (18:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:25:47 +0000 (20:25 -0400)
commite71d0cea1fc9a3e6bbe85499fcd272a25c9f772e
tree08d77657810009a0006ca5711debfb5153159d9e
parentdd82d73b4124fcf86f5bea7fcbab86c193909fcc
staging: rtl8188eu: Remove inline function rtw_inc_and_chk_continual_urb_error()

rtw_inc_and_chk_continual_urb_error() is used to check if device is
removed unexpectedly, to do that we can just check status of urb in
usb_read_port_complete() and usbctrl_vendorreq() doed that by checking
return value of usb_control_msg().

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/usb_ops.h
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c