mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
02cba1598a
commit
47da70d325
2 changed files with 5 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue