RE: [PATCH] ASoC: Remove unused variable 'card' in imx_pcm_fiq_new

From: Dong Aisheng-B29396
Date: Wed Aug 31 2011 - 03:38:01 EST


> -----Original Message-----
> From: linux-kernel-owner@xxxxxxxxxxxxxxx [mailto:linux-kernel-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Axel Lin
> Sent: Wednesday, August 31, 2011 1:50 PM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: Sascha Hauer; Liam Girdwood; Mark Brown; alsa-devel@xxxxxxxxxxxxxxxx
> 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@xxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_