lkml.org 
[lkml]   [2022]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] tools/thermal: Remove unneeded semicolon
Date
Fixes coccicheck warning:

tools/thermal/thermometer/thermometer.c:147:3-4: Unneeded semicolon

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
---
tools/thermal/thermometer/thermometer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/thermal/thermometer/thermometer.c b/tools/thermal/thermometer/thermometer.c
index 914986f20a37..1a87a0a77f9f 100644
--- a/tools/thermal/thermometer/thermometer.c
+++ b/tools/thermal/thermometer/thermometer.c
@@ -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");
--
2.7.4
\
 
 \ /
  Last update: 2022-05-06 03:51    [W:0.034 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site