diff mbox series

[1/6] ASoC: soc.h: remove for_each_rtd_dais_rollback()

Message ID 87o8lpgqbp.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit 5560d8c6053c98e3ce17b988dde743792ae613c8
Headers show
Series ASoC: merge soc_pcm_hw_param() rollback and soc_pcm_hw_free() | expand

Commit Message

Kuninori Morimoto Sept. 29, 2020, 4:31 a.m. UTC
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

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>
---
 include/sound/soc.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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);