summaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeper_internal.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 21:05:00 +0000
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 15:01:48 -0700
commit47da70d32535000ec29cc206cfc1d318fbd8761f (patch)
tree075a580c4459e9a91843d7030942a77ae1ac1f1f /include/linux/timekeeper_internal.h
parent02cba1598a2a3b689e79ad6dad2532521f638271 (diff)
downloadop-kernel-dev-47da70d32535000ec29cc206cfc1d318fbd8761f.zip
op-kernel-dev-47da70d32535000ec29cc206cfc1d318fbd8761f.tar.gz
timekeeping: Remove timekeeper.total_sleep_time
No more users. Remove it Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeper_internal.h')
-rw-r--r--include/linux/timekeeper_internal.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/timekeeper_internal.h b/include/linux/timekeeper_internal.h
index 87e0992..8e5d77a 100644
--- a/include/linux/timekeeper_internal.h
+++ b/include/linux/timekeeper_internal.h
@@ -20,8 +20,8 @@
* the tv_nsec part positive so we can use the usual normalization.
*
* wall_to_monotonic is moved after resume from suspend for the
- * monotonic time not to jump. We need to add total_sleep_time to
- * wall_to_monotonic to get the real boot based time offset.
+ * monotonic time not to jump. To calculate the real boot time offset
+ * we need to do offs_real - offs_boot.
*
* - wall_to_monotonic is no longer the boot time, getboottime must be
* used instead.
@@ -51,8 +51,6 @@ struct timekeeper {
/* Offset clock monotonic -> clock tai */
ktime_t offs_tai;
- /* time spent in suspend */
- struct timespec64 total_sleep_time;
/* The current UTC to TAI offset in seconds */
s32 tai_offset;
OpenPOWER on IntegriCloud