staging: rtl8188eu: remove variable from rtl8188eu_xmit_tasklet()
authorMichael Straube <straube.linux@gmail.com>
Thu, 22 Nov 2018 13:52:18 +0000 (14:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Nov 2018 09:58:45 +0000 (10:58 +0100)
commitb44beecab84a69d5d64fd2651b716e7c8cf2cdf7
tree0562d59b9d4ef36a514a383eb5a5197e093db2d9
parentfdf60cd7e68cb10148ca84ec14ecfd468b9be461
staging: rtl8188eu: remove variable from rtl8188eu_xmit_tasklet()

The local variable ret is only used to test the return value of the
call to rtl8188eu_xmitframe_complete(). Use the function directly in
the if test and remove the variable ret.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c