]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Remove unnecessary time adjustment call.
authorDanny Mayer <mayer@ntp.org>
Wed, 16 Apr 2003 13:18:44 +0000 (09:18 -0400)
committerDanny Mayer <mayer@ntp.org>
Wed, 16 Apr 2003 13:18:44 +0000 (09:18 -0400)
bk: 3e9d5834kPXMOX0pxeQ9tzxHbEFk5Q

ports/winnt/ntpd/nt_clockstuff.c

index 9877cf6526e1b235c68e46e7bc30325c99488d21..23a67e21f6122c76500675a06aedf815f65f5482 100644 (file)
@@ -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");
        }