[PATCH] rtla: Remove unneeded semicolon

cgel.zte@gmail.com posted 1 patch 4 years, 5 months ago
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(-)
[PATCH] rtla: Remove unneeded semicolon
Posted by cgel.zte@gmail.com 4 years, 5 months ago
From: Changcheng Deng <deng.changcheng@zte.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@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.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