2022-08-07 16:47:49

by Shaomin Deng

[permalink] [raw]
Subject: [PATCH] perf scripting python: Delete repeated word in comments

Delete the repeated word "into" in comments.

Signed-off-by: shaomin Deng <[email protected]>
---
tools/perf/util/scripting-engines/trace-event-python.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
index adba01b7d9dd..107aeccbae30 100644
--- a/tools/perf/util/scripting-engines/trace-event-python.c
+++ b/tools/perf/util/scripting-engines/trace-event-python.c
@@ -131,7 +131,7 @@ static void handler_call_die(const char *handler_name)
}

/*
- * Insert val into into the dictionary and decrement the reference counter.
+ * Insert val into the dictionary and decrement the reference counter.
* This is necessary for dictionaries since PyDict_SetItemString() does not
* steal a reference, as opposed to PyTuple_SetItem().
*/
--
2.35.1



2022-08-12 20:11:36

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: [PATCH] perf scripting python: Delete repeated word in comments

Em Sun, Aug 07, 2022 at 12:02:39PM -0400, shaomin Deng escreveu:
> Delete the repeated word "into" in comments.

Thanks, applied.

- Arnaldo


> Signed-off-by: shaomin Deng <[email protected]>
> ---
> tools/perf/util/scripting-engines/trace-event-python.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c
> index adba01b7d9dd..107aeccbae30 100644
> --- a/tools/perf/util/scripting-engines/trace-event-python.c
> +++ b/tools/perf/util/scripting-engines/trace-event-python.c
> @@ -131,7 +131,7 @@ static void handler_call_die(const char *handler_name)
> }
>
> /*
> - * Insert val into into the dictionary and decrement the reference counter.
> + * Insert val into the dictionary and decrement the reference counter.
> * This is necessary for dictionaries since PyDict_SetItemString() does not
> * steal a reference, as opposed to PyTuple_SetItem().
> */
> --
> 2.35.1
>

--

- Arnaldo