rtlwifi: remove redundant assignment to variable k
authorColin Ian King <colin.king@canonical.com>
Fri, 31 May 2019 14:14:12 +0000 (15:14 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 25 Jun 2019 05:00:13 +0000 (08:00 +0300)
commitf0822dfc5887a2f93ac2b72cd21ab307cee4226a
tree6151f2a075d01da03ca1040ec6259155d6dd7154
parent5315f9d40191f98abcd3164e632a8a8f737b1cf0
rtlwifi: remove redundant assignment to variable k

The assignment of 0 to variable k is never read once we break out of
the loop, so the assignment 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/realtek/rtlwifi/efuse.c