Skip to contentSkip to conversation

perf test: Fix typo in comments

PATCH Applied shaomin Deng 2 participants 2 messages Aug 7, 2022 – Aug 12, 2022 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf test: Fix typo in comments

Delete the rebundant word "then" in comments.

---
 tools/perf/tests/perf-time-to-tsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/perf-time-to-tsc.c +1 -1
index 4ad0dfbc8b21..79a0d7fc6522 100644
@@ -64,7 +64,7 @@ static int test__tsc_is_supported(struct test_suite *test __maybe_unused,
  * This function implements a test that checks that the conversion of perf time
  * to and from TSC is consistent with the order of events.  If the test passes
  * %0 is returned, otherwise %-1 is returned.  If TSC conversion is not
- * supported then then the test passes but " (not supported)" is printed.
+ * supported then the test passes but " (not supported)" is printed.
  */
 static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
 {
Signature · 1 line
2.35.1
maintainer Applied
#1 lore raw

Em Sun, Aug 07, 2022 at 03:47:53AM -0400, shaomin Deng escreveu:

Quoted 1 line

Delete the rebundant word "then" in comments.

Thanks, applied.

- Arnaldo

Quoted 20 lines
---
 tools/perf/tests/perf-time-to-tsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/tests/perf-time-to-tsc.c +1 -1
index 4ad0dfbc8b21..79a0d7fc6522 100644
@@ -64,7 +64,7 @@ static int test__tsc_is_supported(struct test_suite *test __maybe_unused,
  * This function implements a test that checks that the conversion of perf time
  * to and from TSC is consistent with the order of events.  If the test passes
  * %0 is returned, otherwise %-1 is returned.  If TSC conversion is not
- * supported then then the test passes but " (not supported)" is printed.
+ * supported then the test passes but " (not supported)" is printed.
  */
 static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int subtest __maybe_unused)
 {
Signature · 1 line
2.35.1
Signature · 1 line
- Arnaldo