]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d4a43ca2c4fe40273d4482d10d80da82a201b86
tree6151f2a075d01da03ca1040ec6259155d6dd7154
parent9671c26c87f8f17137ef35b93139c7beb14d2c85
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