Skip to contentSkip to conversation

ASoC: soc-pcm: Remove unused global mutex

PATCH Applied Axel Lin 2 participants 2 messages Aug 14, 2011 – Aug 15, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: soc-pcm: Remove unused global mutex

Since commit b8c0dab9bf3373010e857a8d3f1b594c60a348dd "ASoC: core - PCM mutex per rtd",
the global pcm_mutex is not being used any more.

---
 sound/soc/soc-pcm.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/soc-pcm.c +0 -2
index b575939..1347584 100644
@@ -27,8 +27,6 @@
 #include <sound/soc.h>
 #include <sound/initval.h>
 
-static DEFINE_MUTEX(pcm_mutex);
-
 static int soc_pcm_apply_symmetry(struct snd_pcm_substream *substream)
 {
 	struct snd_soc_pcm_runtime *rtd = substream->private_data;
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 3 lines · Axel Lin

Since commit b8c0dab9bf3373010e857a8d3f1b594c60a348dd "ASoC: core - PCM mutex per rtd",
the global pcm_mutex is not being used any more.

Applied, thanks.