Message ID | 87mtq0wfkn.wl-kuninori.morimoto.gx@renesas.com |
---|---|
State | Accepted |
Commit | b81e8efa245af00e152a485297c611fe84a514a9 |
Headers | show |
Series | [1/5] ASoC: soc-topology: cleanup cppcheck warning at soc_tplg_process_headers() | expand |
diff --git a/sound/soc/soc-topology.c b/sound/soc/soc-topology.c index a052dfe5efb6..f6e5ac3e0314 100644 --- a/sound/soc/soc-topology.c +++ b/sound/soc/soc-topology.c @@ -2124,10 +2124,9 @@ static struct snd_soc_dai_link *snd_soc_find_dai_link(struct snd_soc_card *card, const char *stream_name) { struct snd_soc_pcm_runtime *rtd; - struct snd_soc_dai_link *link; for_each_card_rtds(card, rtd) { - link = rtd->dai_link; + struct snd_soc_dai_link *link = rtd->dai_link; if (link->id != id) continue;