diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-09-29 13:31:11 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-26 16:44:13 +0000 |
commit | 5560d8c6053c98e3ce17b988dde743792ae613c8 (patch) | |
tree | 670204fe2378de87d064ad98dff7ce62a574c71e /include/sound | |
parent | fc7f6a054e1a8c5525bf59c73d8e6333d48a5120 (diff) |
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')
-rw-r--r-- | include/sound/soc.h | 2 |
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); |