]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cx2072x: remove redundant assignment to pulse_len
authorColin Ian King <colin.king@canonical.com>
Fri, 24 May 2019 21:44:19 +0000 (22:44 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 28 May 2019 14:50:42 +0000 (15:50 +0100)
commitd0ab8675d6e71682513ce778a9957d32e2de52e3
tree0ce303c909b86bc9165cdf7550ced1a5273499ca
parent479bc35330bc4291b445e8696f2fabdf2ac4d052
ASoC: cx2072x: remove redundant assignment to pulse_len

Variable pulse_len is being initialized to 1 however this value is
never read and pulse_len is being re-assigned later in a switch
statement.  Clean up the code by removing the redundant initialization.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cx2072x.c