[alsa-devel] [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings
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,
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
participants (3)
-
Fengguang Wu
-
Mark Brown
-
Vinod Koul