Skip to contentSkip to conversation

ASoC: s6000-pcm: remove unused variable 'dai'

PATCH Applied Axel Lin 3 participants 3 messages Aug 13, 2011 – Aug 15, 2011

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: s6000-pcm: remove unused variable 'dai'

---
 sound/soc/s6000/s6000-pcm.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
sound/soc/s6000/s6000-pcm.c +0 -1
index 80c85fd..55efc2b 100644
@@ -446,7 +446,6 @@ static u64 s6000_pcm_dmamask = DMA_BIT_MASK(32);
 static int s6000_pcm_new(struct snd_soc_pcm_runtime *runtime)
 {
 	struct snd_card *card = runtime->card->snd_card;
-	struct snd_soc_dai *dai = runtime->cpu_dai;
 	struct snd_pcm *pcm = runtime->pcm;
 	struct s6000_pcm_dma_params *params;
 	int res;
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw

sound/soc/s6000/s6000-pcm.c static u64 s6000_pcm_dmamask = DMA_BIT_MASK(32); · line 451

Quoted 7 lines · Axel Lin

static int s6000_pcm_new(struct snd_soc_pcm_runtime *runtime) {

sound/soc/s6000/s6000-pcm.c +0 -1
 	struct snd_card *card = runtime->card->snd_card;
-	struct snd_soc_dai *dai = runtime->cpu_dai;
 	struct snd_pcm *pcm = runtime->pcm;
 	struct s6000_pcm_dma_params *params;
 	int res;