* [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings
@ 2014-10-16 16:14 Fengguang Wu
2014-10-16 16:06 ` Vinod Koul
2014-10-17 8:57 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Fengguang Wu @ 2014-10-16 16:14 UTC (permalink / raw)
To: Mark Brown; +Cc: linux-kernel, alsa-devel, Vinod Koul
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@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
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,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings
2014-10-16 16:14 [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings Fengguang Wu
@ 2014-10-16 16:06 ` Vinod Koul
2014-10-17 8:57 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2014-10-16 16:06 UTC (permalink / raw)
To: Fengguang Wu; +Cc: Mark Brown, linux-kernel, alsa-devel
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@intel.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
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,
--
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings
2014-10-16 16:14 [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings Fengguang Wu
2014-10-16 16:06 ` Vinod Koul
@ 2014-10-17 8:57 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2014-10-17 8:57 UTC (permalink / raw)
To: Fengguang Wu; +Cc: linux-kernel, alsa-devel, Vinod Koul
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
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
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-17 8:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-16 16:14 [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings Fengguang Wu
2014-10-16 16:06 ` Vinod Koul
2014-10-17 8:57 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox