ASoC: amd: vangogh: Remove unnecessary init function
authorLucas Tanure <lucas.tanure@collabora.com>
Fri, 17 Feb 2023 11:08:42 +0000 (11:08 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:37:17 +0000 (23:37 +0000)
Remove empty acp5x_cs35l41_init function

Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com>
Link: https://lore.kernel.org/r/20230217110850.1045250-2-lucas.tanure@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-mach.c

index eebf265..5bd9418 100644 (file)
@@ -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),
        },
 };