Skip to contentSkip to conversation

kernel: time: delete repeated words in comments

PATCH Applied Randy Dunlap 3 participants 3 messages Aug 7, 2020 – Aug 10, 2020 Timekeeping, clocksource core, NTP, alarmtimer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: time: delete repeated words in comments

Drop repeated words in kernel/time/.
{when, one, into}

Cc John Stultz <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 kernel/time/alarmtimer.c  |    2 +-
 kernel/time/sched_clock.c |    2 +-
 kernel/time/timekeeping.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
kernel/time/alarmtimer.c +1 -1
@@ -192,7 +192,7 @@ static void alarmtimer_dequeue(struct al
  * When a alarm timer fires, this runs through the timerqueue to
  * see which alarms expired, and runs those. If there are more alarm
  * timers queued for the future, we set the hrtimer to fire when
- * when the next future alarm timer expires.
+ * the next future alarm timer expires.
  */
 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer)
 {
kernel/time/sched_clock.c +1 -1
@@ -229,7 +229,7 @@ void __init generic_sched_clock_init(voi
 {
 	/*
 	 * If no sched_clock() function has been provided at that point,
-	 * make it the final one one.
+	 * make it the final one.
 	 */
 	if (cd.actual_read_sched_clock == jiffy_sched_clock_read)
 		sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, HZ);
kernel/time/timekeeping.c +1 -1
@@ -2001,7 +2001,7 @@ static inline unsigned int accumulate_ns
  * logarithmic_accumulation - shifted accumulation of cycles
  *
  * This functions accumulates a shifted interval of cycles into
- * into a shifted interval nanoseconds. Allows for O(log) accumulation
+ * a shifted interval nanoseconds. Allows for O(log) accumulation
  * loop.
  *
  * Returns the unconsumed cycles.
merge bot Applied
#2 lore raw

[tip: timers/urgent] time: Delete repeated words in comments

In reply to Randy Dunlap
The following commit has been merged into the timers/urgent branch of tip:

The following commit has been merged into the timers/urgent branch of tip:

Commit-ID:     b0294f30256bb6023b2044fd607855123863d98f
Gitweb:        https://git.kernel.org/tip/b0294f30256bb6023b2044fd607855123863d98f
Author:        Randy Dunlap <[email protected]>
AuthorDate:    Thu, 06 Aug 2020 20:32:48 -07:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Mon, 10 Aug 2020 22:14:07 +02:00

time: Delete repeated words in comments

Drop repeated words in kernel/time/. {when, one, into}

---
 kernel/time/alarmtimer.c  | 2 +-
 kernel/time/sched_clock.c | 2 +-
 kernel/time/timekeeping.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
kernel/time/alarmtimer.c +1 -1
index 2ffb466..ca223a8 100644
@@ -192,7 +192,7 @@ static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm)
  * When a alarm timer fires, this runs through the timerqueue to
  * see which alarms expired, and runs those. If there are more alarm
  * timers queued for the future, we set the hrtimer to fire when
- * when the next future alarm timer expires.
+ * the next future alarm timer expires.
  */
 static enum hrtimer_restart alarmtimer_fired(struct hrtimer *timer)
 {
kernel/time/sched_clock.c +1 -1
index 0deaf4b..1c03eec 100644
@@ -229,7 +229,7 @@ void __init generic_sched_clock_init(void)
 {
 	/*
 	 * If no sched_clock() function has been provided at that point,
-	 * make it the final one one.
+	 * make it the final one.
 	 */
 	if (cd.actual_read_sched_clock == jiffy_sched_clock_read)
 		sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, HZ);
kernel/time/timekeeping.c +1 -1
index 4c7212f..35cd10f 100644
@@ -2001,7 +2001,7 @@ static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk)
  * logarithmic_accumulation - shifted accumulation of cycles
  *
  * This functions accumulates a shifted interval of cycles into
- * into a shifted interval nanoseconds. Allows for O(log) accumulation
+ * a shifted interval nanoseconds. Allows for O(log) accumulation
  * loop.
  *
  * Returns the unconsumed cycles.