mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00: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>
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) {
|
||||
ERROR("Missing node name '%d'\n", i);
|
||||
return -1;
|
||||
};
|
||||
}
|
||||
|
||||
if (!config_setting_lookup_string(node, "name", &name)) {
|
||||
ERROR("Thermal zone name not found\n");
|
||||
|
Loading…
Reference in New Issue
Block a user