summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_ntptime.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-11 10:36:22 +0000
committerphk <phk@FreeBSD.org>2002-10-11 10:36:22 +0000
commitae4ae707ad71c7d686dcfd53fe44e96bcddc3dd9 (patch)
tree9166abc63a883b9dc2f60f0da90fc1e5250110f1 /sys/kern/kern_ntptime.c
parent2c6b097f468ee8d671140ee8a2b0f5b1afd02a6d (diff)
downloadFreeBSD-src-ae4ae707ad71c7d686dcfd53fe44e96bcddc3dd9.zip
FreeBSD-src-ae4ae707ad71c7d686dcfd53fe44e96bcddc3dd9.tar.gz
Remove an unused variable.
Diffstat (limited to 'sys/kern/kern_ntptime.c')
-rw-r--r--sys/kern/kern_ntptime.c7
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
OpenPOWER on IntegriCloud