[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220115092614.851252-1-deng.changcheng@zte.com.cn>
Date: Sat, 15 Jan 2022 09:26:14 +0000
From: cgel.zte@...il.com
To: rostedt@...dmis.org
Cc: bristot@...nel.org, deng.changcheng@....com.cn,
linux-kernel@...r.kernel.org, Zeal Robot <zealci@....com.cn>
Subject: [PATCH] rtla: Remove unneeded semicolon
From: Changcheng Deng <deng.changcheng@....com.cn>
Fix the following coccicheck review:
./tools/tracing/rtla/src/timerlat_hist.c: 800: 2-3: Unneeded semicolon
./tools/tracing/rtla/src/osnoise_hist.c: 776: 2-3: Unneeded semicolon
./tools/tracing/rtla/src/timerlat_top.c: 596: 2-3: Unneeded semicolon
Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@....com.cn>
---
tools/tracing/rtla/src/osnoise_hist.c | 2 +-
tools/tracing/rtla/src/timerlat_hist.c | 2 +-
tools/tracing/rtla/src/timerlat_top.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/tracing/rtla/src/osnoise_hist.c b/tools/tracing/rtla/src/osnoise_hist.c
index 180fcbe423cd..9e417f199a78 100644
--- a/tools/tracing/rtla/src/osnoise_hist.c
+++ b/tools/tracing/rtla/src/osnoise_hist.c
@@ -773,7 +773,7 @@ int osnoise_hist_main(int argc, char *argv[])
if (!tracefs_trace_is_on(trace->inst))
break;
- };
+ }
osnoise_read_trace_hist(tool);
diff --git a/tools/tracing/rtla/src/timerlat_hist.c b/tools/tracing/rtla/src/timerlat_hist.c
index 235f9620ef3d..1b75c1de0466 100644
--- a/tools/tracing/rtla/src/timerlat_hist.c
+++ b/tools/tracing/rtla/src/timerlat_hist.c
@@ -797,7 +797,7 @@ int timerlat_hist_main(int argc, char *argv[])
if (!tracefs_trace_is_on(trace->inst))
break;
- };
+ }
timerlat_print_stats(params, tool);
diff --git a/tools/tracing/rtla/src/timerlat_top.c b/tools/tracing/rtla/src/timerlat_top.c
index 1ebd5291539c..d8a792b7aa48 100644
--- a/tools/tracing/rtla/src/timerlat_top.c
+++ b/tools/tracing/rtla/src/timerlat_top.c
@@ -593,7 +593,7 @@ int timerlat_top_main(int argc, char *argv[])
if (!tracefs_trace_is_on(trace->inst))
break;
- };
+ }
timerlat_print_stats(params, top);
--
2.25.1
Powered by blists - more mailing lists