From: Danny Mayer Date: Wed, 16 Apr 2003 13:18:44 +0000 (-0400) Subject: Remove unnecessary time adjustment call. X-Git-Tag: NTP_4_1_80_RC1~45^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41cc901d60c79ce3407828f278efa5e6d0871445;p=thirdparty%2Fntp.git Remove unnecessary time adjustment call. bk: 3e9d5834kPXMOX0pxeQ9tzxHbEFk5Q --- diff --git a/ports/winnt/ntpd/nt_clockstuff.c b/ports/winnt/ntpd/nt_clockstuff.c index 9877cf652..23a67e21f 100644 --- a/ports/winnt/ntpd/nt_clockstuff.c +++ b/ports/winnt/ntpd/nt_clockstuff.c @@ -208,9 +208,6 @@ void init_winnt_time(void) { void reset_winnt_time(void) { /* restore the clock frequency back to its original value */ - if (!SetSystemTimeAdjustment(initial_units_per_tick, FALSE)) { - msyslog(LOG_ERR, "Failed to reset clock frequency, SetSystemTimeAdjustment(): %m"); - } if (!SetSystemTimeAdjustment(0, TRUE)) { msyslog(LOG_ERR, "Failed to reset clock state, SetSystemTimeAdjustment(): %m"); }