* [PATCH] ASoC: Remove unused variable 'card' in imx_pcm_fiq_new
@ 2011-08-31 5:50 Axel Lin
2011-08-31 7:37 ` Dong Aisheng-B29396
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-31 5:50 UTC (permalink / raw)
To: linux-kernel; +Cc: Sascha Hauer, Liam Girdwood, Mark Brown, alsa-devel
Fix below build warning:
CC sound/soc/imx/imx-pcm-fiq.o
sound/soc/imx/imx-pcm-fiq.c: In function 'imx_pcm_fiq_new':
sound/soc/imx/imx-pcm-fiq.c:243: warning: unused variable 'card'
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
sound/soc/imx/imx-pcm-fiq.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c
index 309c59e..7945625 100644
--- a/sound/soc/imx/imx-pcm-fiq.c
+++ b/sound/soc/imx/imx-pcm-fiq.c
@@ -240,7 +240,6 @@ static int ssi_irq = 0;
static int imx_pcm_fiq_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;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [PATCH] ASoC: Remove unused variable 'card' in imx_pcm_fiq_new
2011-08-31 5:50 [PATCH] ASoC: Remove unused variable 'card' in imx_pcm_fiq_new Axel Lin
@ 2011-08-31 7:37 ` Dong Aisheng-B29396
0 siblings, 0 replies; 2+ messages in thread
From: Dong Aisheng-B29396 @ 2011-08-31 7:37 UTC (permalink / raw)
To: Axel Lin, linux-kernel@vger.kernel.org
Cc: Sascha Hauer, Liam Girdwood, Mark Brown,
alsa-devel@alsa-project.org
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1721 bytes --]
> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-
> owner@vger.kernel.org] On Behalf Of Axel Lin
> Sent: Wednesday, August 31, 2011 1:50 PM
> To: linux-kernel@vger.kernel.org
> Cc: Sascha Hauer; Liam Girdwood; Mark Brown; alsa-devel@alsa-project.org
> Subject: [PATCH] ASoC: Remove unused variable 'card' in imx_pcm_fiq_new
>
> Fix below build warning:
It seems Fabio already sent this out a few days ago.
Please refer to:
http://comments.gmane.org/gmane.linux.alsa.devel/88686
> CC sound/soc/imx/imx-pcm-fiq.o
> sound/soc/imx/imx-pcm-fiq.c: In function 'imx_pcm_fiq_new':
> sound/soc/imx/imx-pcm-fiq.c:243: warning: unused variable 'card'
>
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> sound/soc/imx/imx-pcm-fiq.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c
> index 309c59e..7945625 100644
> --- a/sound/soc/imx/imx-pcm-fiq.c
> +++ b/sound/soc/imx/imx-pcm-fiq.c
> @@ -240,7 +240,6 @@ static int ssi_irq = 0;
>
> static int imx_pcm_fiq_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;
> --
> 1.7.4.1
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-31 7:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-31 5:50 [PATCH] ASoC: Remove unused variable 'card' in imx_pcm_fiq_new Axel Lin
2011-08-31 7:37 ` Dong Aisheng-B29396
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox