libertas: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Fri, 5 Jul 2019 08:17:34 +0000 (09:17 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Jul 2019 11:44:25 +0000 (14:44 +0300)
commit4c8a468510196ff0a2c5ea28e8c27cd543a95861
treefd0d6fbc74bec32b0d5ec47193b11156d256dcc4
parent18e714687bea7f9f5155625aec04e335c0022128
libertas: remove redundant assignment to variable ret

The variable ret is being initialized with a value that is never
read and it is being updated later with a new value. The
initialization is redundant and can be removed.

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