diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-07-06 09:20:42 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-07 12:54:09 -0400 |
commit | e12c28a98f0517a8868ac80ef4585487b3e81853 (patch) | |
tree | 385a24b5d57c7bd63c7a21f38333a7d3a2d42f8c /sound/soc/pxa/pxa2xx-pcm.c | |
parent | 774fec338bfc63fe17233feefd9c6b46ce1673e0 (diff) |
ASoC: pxa2xx-pcm: remove unused variable 'dai'
Remove unused variable 'dai' to eliminate below warning.
CC sound/soc/pxa/pxa2xx-pcm.o
sound/soc/pxa/pxa2xx-pcm.c: In function 'pxa2xx_soc_pcm_new':
sound/soc/pxa/pxa2xx-pcm.c:91: warning: unused variable 'dai'
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa/pxa2xx-pcm.c')
-rw-r--r-- | sound/soc/pxa/pxa2xx-pcm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c index da28394c5e56..c43060053dd7 100644 --- a/sound/soc/pxa/pxa2xx-pcm.c +++ b/sound/soc/pxa/pxa2xx-pcm.c | |||
@@ -88,7 +88,6 @@ static u64 pxa2xx_pcm_dmamask = DMA_BIT_MASK(32); | |||
88 | static int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd) | 88 | static int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd) |
89 | { | 89 | { |
90 | struct snd_card *card = rtd->card->snd_card; | 90 | struct snd_card *card = rtd->card->snd_card; |
91 | struct snd_soc_dai *dai = rtd->cpu_dai; | ||
92 | struct snd_pcm *pcm = rtd->pcm; | 91 | struct snd_pcm *pcm = rtd->pcm; |
93 | int ret = 0; | 92 | int ret = 0; |
94 | 93 | ||