linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/lib/thermal: Remove unneeded semicolon
@ 2022-05-06  1:48 Haowen Bai
  2022-05-09 10:11 ` Daniel Lezcano
  0 siblings, 1 reply; 2+ messages in thread
From: Haowen Bai @ 2022-05-06  1:48 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui
  Cc: Haowen Bai, linux-pm, linux-kernel

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(-)

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.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/lib/thermal: Remove unneeded semicolon
  2022-05-06  1:48 [PATCH] tools/lib/thermal: Remove unneeded semicolon Haowen Bai
@ 2022-05-09 10:11 ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2022-05-09 10:11 UTC (permalink / raw)
  To: Haowen Bai, Rafael J. Wysocki, Amit Kucheria, Zhang Rui
  Cc: linux-pm, linux-kernel

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


-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-09 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06  1:48 [PATCH] tools/lib/thermal: Remove unneeded semicolon Haowen Bai
2022-05-09 10:11 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).