OSDN Git Service

ASoC: rt5665: remove redundant assignment to variable idx
authorColin Ian King <colin.king@canonical.com>
Fri, 5 Jul 2019 07:53:03 +0000 (08:53 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 5 Jul 2019 16:58:11 +0000 (17:58 +0100)
commit590eb2f4ef94cb3f3e73345c6db4de97c9cd539e
tree2b99f6daa17dc85d032e262d8bed07ff6ccffdee
parentc150266f592bc0baf1de515ca793ef839f645fc8
ASoC: rt5665: remove redundant assignment to variable idx

The variable idx 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>
Link: https://lore.kernel.org/r/20190705075303.14692-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5665.c