* [PATCH] ASoC: pxa2xx-pcm: remove unused variable 'dai'
@ 2011-07-06 13:20 Axel Lin
2011-07-07 9:20 ` Liam Girdwood
2011-07-07 16:54 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2011-07-06 13:20 UTC (permalink / raw)
To: linux-kernel
Cc: Eric Miao, Nicolas Pitre, Liam Girdwood, Mark Brown, alsa-devel
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>
---
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 da28394..c430600 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);
static int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd)
{
struct snd_card *card = rtd->card->snd_card;
- struct snd_soc_dai *dai = rtd->cpu_dai;
struct snd_pcm *pcm = rtd->pcm;
int ret = 0;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: pxa2xx-pcm: remove unused variable 'dai'
2011-07-06 13:20 [PATCH] ASoC: pxa2xx-pcm: remove unused variable 'dai' Axel Lin
@ 2011-07-07 9:20 ` Liam Girdwood
2011-07-07 16:54 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2011-07-07 9:20 UTC (permalink / raw)
To: Axel Lin
Cc: linux-kernel@vger.kernel.org, Eric Miao, Nicolas Pitre,
Mark Brown, alsa-devel@alsa-project.org
On 06/07/11 14:20, Axel Lin wrote:
> 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>
> ---
> 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 da28394..c430600 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);
> static int pxa2xx_soc_pcm_new(struct snd_soc_pcm_runtime *rtd)
> {
> struct snd_card *card = rtd->card->snd_card;
> - struct snd_soc_dai *dai = rtd->cpu_dai;
> struct snd_pcm *pcm = rtd->pcm;
> int ret = 0;
>
Acked-by: Liam Girdwood <lrg@ti.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: pxa2xx-pcm: remove unused variable 'dai'
2011-07-06 13:20 [PATCH] ASoC: pxa2xx-pcm: remove unused variable 'dai' Axel Lin
2011-07-07 9:20 ` Liam Girdwood
@ 2011-07-07 16:54 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2011-07-07 16:54 UTC (permalink / raw)
To: Axel Lin
Cc: linux-kernel, Eric Miao, Nicolas Pitre, Liam Girdwood, alsa-devel
On Wed, Jul 06, 2011 at 09:20:42PM +0800, Axel Lin wrote:
> Remove unused variable 'dai' to eliminate below warning.
Applied, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-07 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 13:20 [PATCH] ASoC: pxa2xx-pcm: remove unused variable 'dai' Axel Lin
2011-07-07 9:20 ` Liam Girdwood
2011-07-07 16:54 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox