summaryrefslogtreecommitdiffstats
path: root/kernel/time/timekeeping.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 21:04:55 +0000
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 15:01:46 -0700
commit250fade8af2ac5dda8d5106ea06738b6f9e768a7 (patch)
treeda800ac51d851b2ad6b1595cab0d721ffb92dc95 /kernel/time/timekeeping.c
parentcbcf2dd3b3d4d990610259e8d878fc8dc1f17d80 (diff)
downloadop-kernel-dev-250fade8af2ac5dda8d5106ea06738b6f9e768a7.zip
op-kernel-dev-250fade8af2ac5dda8d5106ea06738b6f9e768a7.tar.gz
timekeeping: Remove monotonic_to_bootbased
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/timekeeping.c')
-rw-r--r--kernel/time/timekeeping.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index f7378ea..b356135 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -1570,21 +1570,6 @@ void get_monotonic_boottime(struct timespec *ts)
}
EXPORT_SYMBOL_GPL(get_monotonic_boottime);
-/**
- * monotonic_to_bootbased - Convert the monotonic time to boot based.
- * @ts: pointer to the timespec to be converted
- */
-void monotonic_to_bootbased(struct timespec *ts)
-{
- struct timekeeper *tk = &tk_core.timekeeper;
- struct timespec64 ts64;
-
- ts64 = timespec_to_timespec64(*ts);
- ts64 = timespec64_add(ts64, tk->total_sleep_time);
- *ts = timespec64_to_timespec(ts64);
-}
-EXPORT_SYMBOL_GPL(monotonic_to_bootbased);
-
unsigned long get_seconds(void)
{
struct timekeeper *tk = &tk_core.timekeeper;
OpenPOWER on IntegriCloud