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>
This commit is contained in:
parent
f21b57eb12
commit
cb4487d2b4
|
@ -144,7 +144,7 @@ static int configuration_init(const char *path, struct configuration *config)
|
||||||
if (!node) {
|
if (!node) {
|
||||||
ERROR("Missing node name '%d'\n", i);
|
ERROR("Missing node name '%d'\n", i);
|
||||||
return -1;
|
return -1;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!config_setting_lookup_string(node, "name", &name)) {
|
if (!config_setting_lookup_string(node, "name", &name)) {
|
||||||
ERROR("Thermal zone name not found\n");
|
ERROR("Thermal zone name not found\n");
|
||||||
|
|
Loading…
Reference in New Issue