]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: core: remove redundant zero'ing of counter variable k
authorColin Ian King <colin.king@canonical.com>
Sun, 23 Feb 2020 15:28:40 +0000 (15:28 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Feb 2020 18:20:49 +0000 (19:20 +0100)
commit4e2fc5f4d95d4d88ecbb4b7180068046ab41a1ae
tree952bf9e3adde6b03bc7da4ba7f078a8d0c3a8cc9
parent28e20f44ee20b4c676e1f5ef9b427e4f92c3c529
staging: rtl8723bs: core: remove redundant zero'ing of counter variable k

The zero'ing of counter variable k is redundant as it is never read
after breaking out of the while loop. Remove it.

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