[PATCH 1/9] ASoC: amd: vangogh: Remove unnecessary init function

From: Lucas Tanure
Date: Thu Feb 16 2023 - 05:33:52 EST


Remove empty acp5x_cs35l41_init function

Signed-off-by: Lucas Tanure <lucas.tanure@xxxxxxxxxxxxx>
---
sound/soc/amd/vangogh/acp5x-mach.c | 6 ------
1 file changed, 6 deletions(-)

diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c
index eebf2650ad27..5bd9418919a0 100644
--- a/sound/soc/amd/vangogh/acp5x-mach.c
+++ b/sound/soc/amd/vangogh/acp5x-mach.c
@@ -73,11 +73,6 @@ static int acp5x_8821_init(struct snd_soc_pcm_runtime *rtd)
return ret;
}

-static int acp5x_cs35l41_init(struct snd_soc_pcm_runtime *rtd)
-{
- return 0;
-}
-
static const unsigned int rates[] = {
48000,
};
@@ -258,7 +253,6 @@ static struct snd_soc_dai_link acp5x_dai[] = {
.dpcm_playback = 1,
.playback_only = 1,
.ops = &acp5x_cs35l41_play_ops,
- .init = acp5x_cs35l41_init,
SND_SOC_DAILINK_REG(acp5x_bt, cs35l41, platform),
},
};
--
2.39.2