ASoC: rt5659: remove redundant assignment to variable idx
authorColin Ian King <colin.king@canonical.com>
Sat, 8 Feb 2020 22:15:29 +0000 (22:15 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Feb 2020 11:25:24 +0000 (11:25 +0000)
commit1646484ed2430e37f00945db4755449d54354b57
tree6b879aeb0d57e1c5ecaf0b62b377093c652d18bb
parent3025571edd9df653e1ad649f0638368a39d1bbb5
ASoC: rt5659: remove redundant assignment to variable idx

Variable idx is being assigned with a value that is never idx, it is
assigned a new value a couple of statements later. The assignment 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/20200208221529.37105-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5659.c