]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: soc-core: remove unused dobj_list
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 27 Mar 2026 02:43:31 +0000 (02:43 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2026 18:38:44 +0000 (18:38 +0000)
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 <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/874im2xa98.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c

index fd6c1c8055d2ffd079c499b4991245afdf0086a9..d66164fd83e53f2e77a0101a5649c7d9b623cc04 100644 (file)
@@ -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;
index f80f1a149ad1bed4255af1e7b9f305f74be6a644..67d9ea319c84a6d34e9fdcef0e0e27145e9cbf6e 100644 (file)
@@ -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);