Skip to content

Commit cb4487d

Browse files
wb-zjp846396dlezcano
authored andcommitted
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>
1 parent f21b57e commit cb4487d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/thermal/thermometer/thermometer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static int configuration_init(const char *path, struct configuration *config)
144144
if (!node) {
145145
ERROR("Missing node name '%d'\n", i);
146146
return -1;
147-
};
147+
}
148148

149149
if (!config_setting_lookup_string(node, "name", &name)) {
150150
ERROR("Thermal zone name not found\n");

0 commit comments

Comments
 (0)