summaryrefslogtreecommitdiff
path: root/kernel/time/posix-cpu-timers.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-08-21 22:09:14 +0300
committerThomas Gleixner <tglx@linutronix.de>2019-08-28 12:50:38 +0300
commit46b883995c88520f2c4de6a64cccc04c69d59f83 (patch)
tree2d1c9520183af260cd350a75d1f11de85de4445f /kernel/time/posix-cpu-timers.c
parent001f7971433a53bb76443cd8f5827ca27b0bc8ca (diff)
downloadlinux-46b883995c88520f2c4de6a64cccc04c69d59f83.tar.xz
posix-cpu-timers: Remove cputime_expires
The last users of the magic struct cputime based expiry cache are gone. Remove the leftovers. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lkml.kernel.org/r/20190821192921.790209622@linutronix.de
Diffstat (limited to 'kernel/time/posix-cpu-timers.c')
-rw-r--r--kernel/time/posix-cpu-timers.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
index e159b039e44a..ffd49181e23d 100644
--- a/kernel/time/posix-cpu-timers.c
+++ b/kernel/time/posix-cpu-timers.c
@@ -18,16 +18,6 @@
#include "posix-timers.h"
-static inline void temporary_check(void)
-{
- BUILD_BUG_ON(offsetof(struct task_cputime, stime) !=
- CPUCLOCK_PROF * sizeof(u64));
- BUILD_BUG_ON(offsetof(struct task_cputime, utime) !=
- CPUCLOCK_VIRT * sizeof(u64));
- BUILD_BUG_ON(offsetof(struct task_cputime, sum_exec_runtime) !=
- CPUCLOCK_SCHED * sizeof(u64));
-}
-
static void posix_cpu_timer_rearm(struct k_itimer *timer);
void posix_cputimers_group_init(struct posix_cputimers *pct, u64 cpu_limit)