2022-01-16 00:09:01

by CGEL

[permalink] [raw]
Subject: [PATCH] rtla: Remove unneeded semicolon

From: Changcheng Deng <[email protected]>

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 <[email protected]>
Signed-off-by: Changcheng Deng <[email protected]>
---
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