2021-12-21 03:27:32

by Xiang wangx

[permalink] [raw]
Subject: [PATCH] perf tools: Fix typo in a comment

The double `and' in a comment is repeated, thus it should be removed.

Signed-off-by: Xiang wangx <[email protected]>
---
tools/perf/builtin-trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 2f1d20553a0a..c1ef5000ab1b 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -2735,7 +2735,7 @@ static size_t trace__fprintf_tp_fields(struct trace *trace, struct evsel *evsel,

/*
* Suppress this argument if its value is zero and
- * and we don't have a string associated in an
+ * we don't have a string associated in an
* strarray for it.
*/
if (val == 0 &&
--
2.34.1