libertas: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Wed, 2 Oct 2019 10:15:17 +0000 (11:15 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 4 Oct 2019 13:46:23 +0000 (16:46 +0300)
commit60b5b49f6a6ed3a5dd5e1b4b72b8c792387a0f8c
tree2781c8360b5dd8d71940b4c3e8de3a62e13de55a
parent3b1e0a7bdfeedbde49b8d424aeb88ac3c0cf8182
libertas: remove redundant assignment to variable ret

The variable ret is being assigned a value that is never read and is
being re-assigned a little later on. The assignment is redundant and hence
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/libertas/mesh.c