From: Kuninori Morimoto Date: Fri, 27 Mar 2026 02:43:31 +0000 (+0000) Subject: ASoC: soc-core: remove unused dobj_list X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7caae0aed04137545e9f8c146d8d1dbb7a8e9865;p=thirdparty%2Flinux.git ASoC: soc-core: remove unused dobj_list commit 8a9782346dccd ("ASoC: topology: Add topology core") added dobj_list to Component and Card, but Card side has never been used. Remove it. Signed-off-by: Kuninori Morimoto Link: https://patch.msgid.link/874im2xa98.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/include/sound/soc.h b/include/sound/soc.h index fd6c1c8055d2..d66164fd83e5 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1073,9 +1073,6 @@ struct snd_soc_card { struct list_head dapm_list; struct list_head dapm_dirty; - /* attached dynamic objects */ - struct list_head dobj_list; - /* Generic DAPM context for the card */ struct snd_soc_dapm_context *dapm; struct snd_soc_dapm_stats dapm_stats; diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index f80f1a149ad1..67d9ea319c84 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -2574,7 +2574,6 @@ int snd_soc_register_card(struct snd_soc_card *card) INIT_LIST_HEAD(&card->list); INIT_LIST_HEAD(&card->rtd_list); INIT_LIST_HEAD(&card->dapm_dirty); - INIT_LIST_HEAD(&card->dobj_list); card->instantiated = 0; mutex_init(&card->mutex);