ASoC: mediatek: mt8186: remove redundant assignments to variable tdm_con
authorColin Ian King <colin.i.king@gmail.com>
Mon, 23 Oct 2023 15:17:04 +0000 (16:17 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 24 Oct 2023 17:03:10 +0000 (18:03 +0100)
commit2e2a1613342658962250873cb8a0406bebdab9e3
treeadae07f20797f918d5204a8bf3fee764d17fbd5e
parent8c2d2383d2904aa3077f8dd3b3154160fa5b4f97
ASoC: mediatek: mt8186: remove redundant assignments to variable tdm_con

There are two occurrences where variable tdm_con is being initialized
to zero and the next statement re-assigns tdm_con to a new value. The
initializations are redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20231023151704.670240-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-dai-tdm.c