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


Groups > linux.kernel > #1677923

[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-06-29 18:30 +0200
Message-ID <tXKun-1qg-23@gated-at.bofh.it> (permalink)
References <tXKun-1qg-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


sound/soc/soc-core.c:1961:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: 98faf436ee05 ("ASoC: Drop invalid DMI fields when setting card long name from DMI info")
CC: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 soc-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1958,7 +1958,7 @@ static int is_dmi_valid(const char *fiel
 		if (strstr(field, dmi_blacklist[i]))
 			return 0;
 		i++;
-	};
+	}
 
 	return 1;
 }

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


Thread

[PATCH] ASoC: fix semicolon.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-06-29 18:30 +0200
  Applied "ASoC: fix semicolon.cocci warnings" to the asoc tree Mark Brown <broonie@kernel.org> - 2017-06-30 14:10 +0200

csiph-web