timers: Remove unused __round_jiffies(_up)
PATCH 1/1 timers: Remove unused __round_jiffies(_up)
From: "Dr. David Alan Gilbert" <[email protected]>
Remove two trivial but long unused functions.
__round_jiffies() has been unused since 2008's
commit 9c133c469d38 ("Add round_jiffies_up and related routines")
__round_jiffies_up() has been unused since 2019's commit 7ae3f6e130e8 ("powerpc/watchdog: Use hrtimers for per-CPU heartbeat")
Remove them.
--- include/linux/timer.h | 2 -- kernel/time/timer.c | 42 ------------------------------------------ 2 files changed, 44 deletions(-)
include/linux/timer.h +0 -2
@@ -172,12 +172,10 @@ extern void init_timers(void);struct hrtimer ;extern enum hrtimer_restart it_real_fn (struct hrtimer *); -unsigned long __round_jiffies (unsigned long j,int cpu);unsigned long __round_jiffies_relative (unsigned long j,int cpu);unsigned long round_jiffies (unsigned long j);unsigned long round_jiffies_relative (unsigned long j); -unsigned long __round_jiffies_up (unsigned long j,int cpu);unsigned long __round_jiffies_up_relative (unsigned long j,int cpu);unsigned long round_jiffies_up (unsigned long j);unsigned long round_jiffies_up_relative (unsigned long j);
kernel/time/timer.c +0 -42
54 lines not on this page · raw message
Signature · 1 line
2.49.0
The following commit has been merged into the timers/core branch of tip:
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 49916e22d9530d6cf027e635a5d824c7d698d67f Gitweb: https://git.kernel.org/tip/49916e22d9530d6cf027e635a5d824c7d698d67f Author: Dr. David Alan Gilbert <[email protected]> AuthorDate: Fri, 18 Apr 2025 21:08:03 +01:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Thu, 24 Apr 2025 14:31:35 +02:00
timers: Remove unused __round_jiffies(_up)
Remove two trivial but long unused functions.
__round_jiffies() has been unused since 2008's
commit 9c133c469d38 ("Add round_jiffies_up and related routines")
__round_jiffies_up() has been unused since 2019's commit 7ae3f6e130e8 ("powerpc/watchdog: Use hrtimers for per-CPU heartbeat")
Remove them.
--- include/linux/timer.h | 2 +-- kernel/time/timer.c | 42 +------------------------------------------ 2 files changed, 44 deletions(-)
include/linux/timer.h +0 -2
@@ -172,12 +172,10 @@ extern void init_timers(void);struct hrtimer ;extern enum hrtimer_restart it_real_fn (struct hrtimer *); -unsigned long __round_jiffies (unsigned long j,int cpu);unsigned long __round_jiffies_relative (unsigned long j,int cpu);unsigned long round_jiffies (unsigned long j);unsigned long round_jiffies_relative (unsigned long j); -unsigned long __round_jiffies_up (unsigned long j,int cpu);unsigned long __round_jiffies_up_relative (unsigned long j,int cpu);unsigned long round_jiffies_up (unsigned long j);unsigned long round_jiffies_up_relative (unsigned long j);
kernel/time/timer.c +0 -42
54 lines not on this page · raw message