staging: rtl8723bs: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Wed, 29 Jul 2020 10:05:25 +0000 (11:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 12:00:25 +0000 (14:00 +0200)
commit100a149ff153702f8fc7b005df7e9ea9aba5f79e
tree4291af984e2052dfeab3a2b4381f7ab6537baf7b
parent7f921e92e72a52e6390207d3ebeb8f3b5966ebde
staging: rtl8723bs: remove redundant assignment to variable ret

The variable ret is being assigned an error return value that is never
read, the control passes to a return statement and ret is never referenced.
Remove the redundant assignment. Also remove an empty line.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200729100525.573500-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/osdep_service.c