[alsa-devel] [PATCH] ASoC: Intel: mrfld: fix semicolon.cocci warnings

Fengguang Wu fengguang.wu at intel.com
Thu Oct 16 18:14:19 CEST 2014


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 at intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu at 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,


More information about the Alsa-devel mailing list