diff options
Diffstat (limited to 'sys/kern/kern_ntptime.c')
-rw-r--r-- | sys/kern/kern_ntptime.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c index cd2db73..26467d8 100644 --- a/sys/kern/kern_ntptime.c +++ b/sys/kern/kern_ntptime.c @@ -147,7 +147,6 @@ static long time_precision = 1; /* clock precision (ns) */ static long time_maxerror = MAXPHASE / 1000; /* maximum error (us) */ static long time_esterror = MAXPHASE / 1000; /* estimated error (us) */ static long time_reftime; /* time at last adjustment (s) */ -static long time_tick; /* nanoseconds per tick (ns) */ static l_fp time_offset; /* time offset (ns) */ static l_fp time_freq; /* frequency offset (ns/s) */ static l_fp time_adj; /* tick adjust (ns/s) */ @@ -581,12 +580,6 @@ ntp_init() { /* - * The following variable must be initialized any time the - * kernel variable hz is changed. - */ - time_tick = NANOSECOND / hz; - - /* * The following variables are initialized only at startup. Only * those structures not cleared by the compiler need to be * initialized, and these only in the simulator. In the actual |