Re: [PATCH] ASoC: fsl: Remove unneeded init of static variable

From: Nicolin Chen
Date: Mon Feb 27 2017 - 13:42:25 EST


On Sat, Feb 25, 2017 at 12:47:26PM +0200, Alin Grigorean wrote:
> This was reported by checkpatch.pl
>
> Signed-off-by: Alin Grigorean <alin.grig93@xxxxxxxxx>

Acked-by: Nicolin Chen <nicoleotsuka@xxxxxxxxx>

> ---
> sound/soc/fsl/imx-pcm-fiq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c
> index dac6688540dc..92410f7ca1fa 100644
> --- a/sound/soc/fsl/imx-pcm-fiq.c
> +++ b/sound/soc/fsl/imx-pcm-fiq.c
> @@ -282,7 +282,7 @@ static int imx_pcm_new(struct snd_soc_pcm_runtime *rtd)
> return 0;
> }
>
> -static int ssi_irq = 0;
> +static int ssi_irq;
>
> static int imx_pcm_fiq_new(struct snd_soc_pcm_runtime *rtd)
> {
> --
> 2.11.1
>