Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598520

[PATCH] ASoC: fix semicolon.cocci warnings

From kbuild test robot <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject [PATCH] ASoC: fix semicolon.cocci warnings
Date 2017-03-12 02:20 +0100
Message-ID <tk0kV-2EU-7@gated-at.bofh.it> (permalink)
References <tk0kV-2EU-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


sound/soc/codecs/cs35l35.c:706:2-3: Unneeded semicolon
sound/soc/codecs/cs35l35.c:543:4-5: Unneeded semicolon
sound/soc/codecs/cs35l35.c:553:4-5: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 cs35l35.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -540,7 +540,7 @@ static int cs35l35_hw_params(struct snd_
 			default:
 				dev_err(codec->dev, "ratio not supported\n");
 				return -EINVAL;
-			};
+			}
 		} else {
 			/* Only certain ratios supported in I2S MASTER Mode */
 			switch (sp_sclks) {
@@ -550,7 +550,7 @@ static int cs35l35_hw_params(struct snd_
 			default:
 				dev_err(codec->dev, "ratio not supported\n");
 				return -EINVAL;
-			};
+			}
 		}
 		ret = regmap_update_bits(cs35l35->regmap,
 					CS35L35_CLK_CTL3,
@@ -703,7 +703,7 @@ static int cs35l35_codec_set_sysclk(stru
 	default:
 		dev_err(codec->dev, "Invalid CLK Source\n");
 		return -EINVAL;
-	};
+	}
 
 	switch (freq) {
 	case 5644800:

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: fix semicolon.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-03-12 02:20 +0100
  Applied "ASoC: cs35l35: fix semicolon.cocci warnings" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-03-13 18:00 +0100

csiph-web