Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jiapeng Chong and committed by
Daniel Lezcano
cb4487d2 f21b57eb

+1 -1
+1 -1
tools/thermal/thermometer/thermometer.c
··· 144 144 if (!node) { 145 145 ERROR("Missing node name '%d'\n", i); 146 146 return -1; 147 - }; 147 + } 148 148 149 149 if (!config_setting_lookup_string(node, "name", &name)) { 150 150 ERROR("Thermal zone name not found\n");