OSDN Git Service

posix-cpu-timers: Move prof/virt_ticks into caller
authorThomas Gleixner <tglx@linutronix.de>
Wed, 21 Aug 2019 19:09:03 +0000 (21:09 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 28 Aug 2019 09:50:33 +0000 (11:50 +0200)
commitab693c5a5e3107f035d5162e6ada9aaf7dd76a1d
tree4878a4bb01da0103aa768da4c83a4294153c0b5e
parent0476ff2c151ee35bda2f938e8828b6f6113ebf55
posix-cpu-timers: Move prof/virt_ticks into caller

The functions have only one caller left. No point in having them.

Move the almost duplicated code into the caller and simplify it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lkml.kernel.org/r/20190821192920.729298382@linutronix.de
kernel/time/posix-cpu-timers.c