ASoC: mediatek: mt8195: Fix unused initialization of pointer etdm_data
authorColin Ian King <colin.king@canonical.com>
Fri, 3 Sep 2021 11:49:28 +0000 (12:49 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 13 Sep 2021 00:59:08 +0000 (01:59 +0100)
commitd67bbdda25c4156da079312a3594a41770123abd
treed0b06990aa77e8077004a1e8aa77cb22cc5f33dc
parent0f3dd4e09addc00d5b87761793b08927e7903181
ASoC: mediatek: mt8195: Fix unused initialization of pointer etdm_data

The pointer etdm_data is being inintialized with a value that is never
read, it is later being re-assigned a new value. Remove the redundant
initialization.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210903114928.11743-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8195/mt8195-dai-etdm.c