[PATCH] perf tools: Fix typo in comments

From: shaomin Deng
Date: Sun Aug 07 2022 - 11:56:17 EST


Delete the repeated word "to" in comments.

Signed-off-by: shaomin Deng <dengshaomin@xxxxxxxxxx>
---
tools/perf/util/events_stats.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/events_stats.h b/tools/perf/util/events_stats.h
index 1b0006092265..040ab9d0a803 100644
--- a/tools/perf/util/events_stats.h
+++ b/tools/perf/util/events_stats.h
@@ -22,7 +22,7 @@
*
* The total_period is needed because by default auto-freq is used, so
* multiplying nr_events[PERF_EVENT_SAMPLE] by a frequency isn't possible to get
- * the total number of low level events, it is necessary to to sum all struct
+ * the total number of low level events, it is necessary to sum all struct
* perf_record_sample.period and stash the result in total_period.
*/
struct events_stats {
--
2.35.1