2022-04-27 11:07:12

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH 1/2] tools/lib/thermal: remove unneeded semicolon

Fix the following coccicheck warnings:

./tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
tools/lib/thermal/commands.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lib/thermal/commands.c b/tools/lib/thermal/commands.c
index 4e289ca1e5f3..73d4d4e8d6ec 100644
--- a/tools/lib/thermal/commands.c
+++ b/tools/lib/thermal/commands.c
@@ -212,7 +212,7 @@ static int handle_netlink(struct nl_cache_ops *unused,

default:
return THERMAL_ERROR;
- };
+ }

return ret;
}
--
2.20.1.7.g153144c