diff mbox series

tools/lib/thermal: Remove unneeded semicolon

Message ID 1651801694-23311-1-git-send-email-baihaowen@meizu.com (mailing list archive)
State New, archived
Delegated to: Daniel Lezcano
Headers show
Series tools/lib/thermal: Remove unneeded semicolon | expand

Commit Message

baihaowen May 6, 2022, 1:48 a.m. UTC
Fixes coccicheck warning:

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

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

Comments

Daniel Lezcano May 9, 2022, 10:11 a.m. UTC | #1
On 06/05/2022 03:48, Haowen Bai wrote:
> Fixes coccicheck warning:
> 
> tools/lib/thermal/commands.c:215:2-3: Unneeded semicolon
> 
> Signed-off-by: Haowen Bai <baihaowen@meizu.com>
> ---

Applied, thanks
diff mbox series

Patch

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;
 }