summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 21:04:28 +0000
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 10:18:03 -0700
commitdcaab54e348c5b66cca4802815ceebd37059e70c (patch)
tree2327eee73a9eb7865b80f354baa089b376e3a59b /kernel/time
parentd2cb58c85ce4789caafa66fa8f1c641ab2504ead (diff)
downloadop-kernel-dev-dcaab54e348c5b66cca4802815ceebd37059e70c.zip
op-kernel-dev-dcaab54e348c5b66cca4802815ceebd37059e70c.tar.gz
timekeeping: Remove ktime_get_monotonic_offset()
No more users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/timekeeping.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 032e77a..f7378ea 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -1708,24 +1708,6 @@ ktime_t ktime_get_update_offsets_now(ktime_t *offs_real, ktime_t *offs_boot,
#endif
/**
- * ktime_get_monotonic_offset() - get wall_to_monotonic in ktime_t format
- */
-ktime_t ktime_get_monotonic_offset(void)
-{
- struct timekeeper *tk = &tk_core.timekeeper;
- unsigned long seq;
- struct timespec64 wtom;
-
- do {
- seq = read_seqcount_begin(&tk_core.seq);
- wtom = tk->wall_to_monotonic;
- } while (read_seqcount_retry(&tk_core.seq, seq));
-
- return timespec64_to_ktime(wtom);
-}
-EXPORT_SYMBOL_GPL(ktime_get_monotonic_offset);
-
-/**
* do_adjtimex() - Accessor function to NTP __do_adjtimex function
*/
int do_adjtimex(struct timex *txc)
OpenPOWER on IntegriCloud