projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed646d
)
ASoC: soc-core: remove for_each_rtdcom_safe()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 15 Oct 2019 03:59:44 +0000
(12:59 +0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 22 Oct 2019 18:12:41 +0000
(19:12 +0100)
There is no user of for_each_rtdcom().
Let's remove it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link:
https://lore.kernel.org/r/87a7a264m9.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
patch
|
blob
|
history
diff --git
a/include/sound/soc.h
b/include/sound/soc.h
index 32748f78060a7e520f0d2ff7bb2dd7956d9cf943..d730883626dc76b9ca37a035170505019d0c6cf1 100644
(file)
--- a/
include/sound/soc.h
+++ b/
include/sound/soc.h
@@
-741,8
+741,6
@@
snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime *rtd,
const char *driver_name);
#define for_each_rtdcom(rtd, rtdcom) \
list_for_each_entry(rtdcom, &(rtd)->component_list, list)
-#define for_each_rtdcom_safe(rtd, rtdcom1, rtdcom2) \
- list_for_each_entry_safe(rtdcom1, rtdcom2, &(rtd)->component_list, list)
struct snd_soc_dai_link_component {
const char *name;