|
@@ -1860,8 +1860,6 @@ static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk,
|
|
|
* xtime_nsec_2 = xtime_nsec_1 - offset
|
|
|
* Which simplfies to:
|
|
|
* xtime_nsec -= offset
|
|
|
- *
|
|
|
- * XXX - TODO: Doc ntp_error calculation.
|
|
|
*/
|
|
|
if ((mult_adj > 0) && (tk->tkr_mono.mult + mult_adj < mult_adj)) {
|
|
|
/* NTP adjustment caused clocksource mult overflow */
|
|
@@ -1872,7 +1870,6 @@ static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk,
|
|
|
tk->tkr_mono.mult += mult_adj;
|
|
|
tk->xtime_interval += interval;
|
|
|
tk->tkr_mono.xtime_nsec -= offset;
|
|
|
- tk->ntp_error -= (interval - offset) << tk->ntp_error_shift;
|
|
|
}
|
|
|
|
|
|
/*
|