]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2310488b7ce2cb082e5bf84bed81d554f693aa64
tree2b99f6daa17dc85d032e262d8bed07ff6ccffdee
parent3343365e8c726c8d3feb2fdc7eac155fdfa0f9c9
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