From: Harlan Stenn Date: Mon, 19 Dec 2005 23:12:59 +0000 (-0500) Subject: leap change notification cleanup from Dave Mills X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46868b2c840857d6dd687b3f4ade3dafc153bdb1;p=thirdparty%2Fntp.git leap change notification cleanup from Dave Mills bk: 43a73e7bFzWROzWJL-COIDJWDtPD5Q --- diff --git a/ntpd/ntp_loopfilter.c b/ntpd/ntp_loopfilter.c index 651dcbb66e..031d9a2c8e 100644 --- a/ntpd/ntp_loopfilter.c +++ b/ntpd/ntp_loopfilter.c @@ -594,9 +594,6 @@ local_clock( tstamp = peer->rec.l_ui - JAN_1970; tm = gmtime(&tstamp); if (tm != NULL) { - int oleap; - - oleap = ntv.status; if ((tm->tm_mon + 1 == 6 && tm->tm_mday == 30) || (tm->tm_mon + 1 == 12 && tm->tm_mday == 31)) { @@ -605,11 +602,6 @@ local_clock( else if (leap_next & LEAP_DELSECOND) ntv.status |= STA_DEL; - if (oleap != (ntv.status & (STA_INS | - STA_DEL))) - msyslog(LOG_NOTICE, - "leap change %x", - ntv.status); } }