Skip to content

Commit

Permalink
tools/thermal: remove unneeded semicolon
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiapeng Chong authored and dlezcano committed May 19, 2022
1 parent f21b57e commit cb4487d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/thermal/thermometer/thermometer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit cb4487d

Please sign in to comment.