Re: [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings

From: Vinod Koul
Date: Thu Oct 16 2014 - 12:42:38 EST


On Fri, Oct 17, 2014 at 12:14:19AM +0800, Fengguang Wu wrote:
> sound/soc/intel/sst-atom-controls.c:249:2-3: Unneeded semicolon
> sound/soc/intel/sst-atom-controls.c:289:2-3: Unneeded semicolon
>
>
> Removes unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Vinod Koul <vinod.koul@xxxxxxxxx>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Acked-by: Vinod Koul <vinod.koul@xxxxxxxxx>

Thanks
--
~Vinod

> ---
>
> sst-atom-controls.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> --- a/sound/soc/intel/sst-atom-controls.c
> +++ b/sound/soc/intel/sst-atom-controls.c
> @@ -246,7 +246,7 @@ static int sst_gain_get(struct snd_kcont
> dev_err(component->dev, "Invalid Input- gain type:%d\n",
> mc->type);
> return -EINVAL;
> - };
> + }
>
> return 0;
> }
> @@ -286,7 +286,7 @@ static int sst_gain_put(struct snd_kcont
> dev_err(cmpnt->dev, "Invalid Input- gain type:%d\n",
> mc->type);
> return -EINVAL;
> - };
> + }
>
> if (mc->w && mc->w->power)
> ret = sst_send_gain_cmd(drv, gv, mc->task_id,

--
--
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/