timekeeping: Fold in timekeeping_delta_to_ns()
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 25 Mar 2024 06:40:19 +0000 (08:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 8 Apr 2024 13:03:08 +0000 (15:03 +0200)
commit3094c6db1cba0bbca6ea19c777762c26fee747d7
tree77899f33129e23177b01f68c8150c5ab3e93386e
parente84f43e34faf85816587f80594541ec978449d6e
timekeeping: Fold in timekeeping_delta_to_ns()

timekeeping_delta_to_ns() is now called only from
timekeeping_cycles_to_ns(), and it is not useful otherwise.

Simplify the code by folding it into timekeeping_cycles_to_ns().

No functional change.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240325064023.2997-16-adrian.hunter@intel.com
kernel/time/timekeeping.c