tools/thermal: remove unneeded semicolon
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 27 Apr 2022 03:06:19 +0000 (11:06 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:52 +0000 (12:11 +0200)
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

index 914986f20a3777ff6dcbae3f8d6ee58040b99f0d..1a87a0a77f9f1943887f64b9ef76651d22608eec 100644 (file)
@@ -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");