summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2020-09-29 06:31:11 +0200
committerMark Brown <broonie@kernel.org>2020-10-26 17:44:13 +0100
commit5560d8c6053c98e3ce17b988dde743792ae613c8 (patch)
tree670204fe2378de87d064ad98dff7ce62a574c71e /include/sound/soc.h
parentMerge existing fixes from asoc/for-5.10 (diff)
downloadlinux-5560d8c6053c98e3ce17b988dde743792ae613c8.tar.xz
linux-5560d8c6053c98e3ce17b988dde743792ae613c8.zip
ASoC: soc.h: remove for_each_rtd_dais_rollback()
commit 140a4532cdb8 ("ASoC: soc-pcm: add soc_pcm_clean() and call it from soc_pcm_open/close()") uses soc_pcm_clean() and then for_each_rtd_dais_rollback() is no longer used. This patch removes it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87o8lpgqbp.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 3b038c563ae1..7541c71c9eb8 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1196,8 +1196,6 @@ struct snd_soc_pcm_runtime {
((i) < (rtd)->num_cpus + (rtd)->num_codecs) && \
((dai) = (rtd)->dais[i]); \
(i)++)
-#define for_each_rtd_dais_rollback(rtd, i, dai) \
- for (; (--(i) >= 0) && ((dai) = (rtd)->dais[i]);)
void snd_soc_close_delayed_work(struct snd_soc_pcm_runtime *rtd);