diff mbox series

[thermal:,thermal/next] tools/thermal: remove unneeded semicolon

Message ID 165296425196.4207.1628826264751962273.tip-bot2@tip-bot2
State New
Headers show
Series [thermal:,thermal/next] tools/thermal: remove unneeded semicolon | expand

Commit Message

thermal-bot for Lad Prabhakar May 19, 2022, 12:44 p.m. UTC
The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     cb4487d2b4043bbe98f60f2628387b40fa4896f8
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//cb4487d2b4043bbe98f60f2628387b40fa4896f8
Author:        Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
AuthorDate:    Wed, 27 Apr 2022 11:06:19 +08:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Thu, 19 May 2022 12:11:52 +02:00

tools/thermal: remove unneeded semicolon

Fix the following coccicheck warnings:

./tools/thermal/thermometer/thermometer.c:147:3-4: Unneeded semicolon.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220427030619.81556-2-jiapeng.chong@linux.alibaba.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 tools/thermal/thermometer/thermometer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/thermal/thermometer/thermometer.c b/tools/thermal/thermometer/thermometer.c
index 914986f..1a87a0a 100644
--- a/tools/thermal/thermometer/thermometer.c
+++ b/tools/thermal/thermometer/thermometer.c
@@ -144,7 +144,7 @@  static int configuration_init(const char *path, struct configuration *config)
 		if (!node) {
 			ERROR("Missing node name '%d'\n", i);
 			return -1;
-		};
+		}
 
 		if (!config_setting_lookup_string(node, "name", &name)) {
 			ERROR("Thermal zone name not found\n");