All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/perf: fix repeated words in comments
@ 2022-08-22 12:39 Jilin Yuan
  2022-08-22 14:06 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Jilin Yuan @ 2022-08-22 12:39 UTC (permalink / raw)
  To: peterz, mingo, acme; +Cc: linux-perf-users, linux-kernel, Jilin Yuan

 Delete the redundant word 'and'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 tools/perf/builtin-trace.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 897fc504918b..2f7b1111d8e9 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -2040,7 +2040,7 @@ static size_t syscall__scnprintf_args(struct syscall *sc, char *bf, size_t size,
 
 			/*
  			 * 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 &&
@@ -2748,7 +2748,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.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-22 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-22 12:39 [PATCH] tools/perf: fix repeated words in comments Jilin Yuan
2022-08-22 14:06 ` Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.