summaryrefslogtreecommitdiffstats
path: root/tools/thermal
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-04-27 05:06:19 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-05-19 12:11:52 +0200
commitcb4487d2b4043bbe98f60f2628387b40fa4896f8 (patch)
treea3352d1b4c35e6c15aef4351559f403615a8e2ec /tools/thermal
parenttools/lib/thermal: remove unneeded semicolon (diff)
downloadlinux-cb4487d2b4043bbe98f60f2628387b40fa4896f8.tar.xz
linux-cb4487d2b4043bbe98f60f2628387b40fa4896f8.zip
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>
Diffstat (limited to 'tools/thermal')
-rw-r--r--tools/thermal/thermometer/thermometer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/thermal/thermometer/thermometer.c b/tools/thermal/thermometer/thermometer.c
index 914986f20a37..1a87a0a77f9f 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");