summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_tc.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-11-05 19:39:34 +0000
committermiod <miod@openbsd.org>2012-11-05 19:39:34 +0000
commit1c070ce7b0ddc6f26719f95d4a14fc67cdcd5663 (patch)
treec8b5687e5a49f4157123293dec97b242e65b355e /sys/kern/kern_tc.c
parentFix memory leak in error paths for synaptics and alps (pointed stsp@). (diff)
downloadwireguard-openbsd-1c070ce7b0ddc6f26719f95d4a14fc67cdcd5663.tar.xz
wireguard-openbsd-1c070ce7b0ddc6f26719f95d4a14fc67cdcd5663.zip
unifdef -D __HAVE_TIMECOUNTER
Diffstat (limited to 'sys/kern/kern_tc.c')
-rw-r--r--sys/kern/kern_tc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index b6c7875e546..17ce4128f3e 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $OpenBSD: kern_tc.c,v 1.17 2012/05/24 07:17:42 guenther Exp $
+ * $OpenBSD: kern_tc.c,v 1.18 2012/11/05 19:39:35 miod Exp $
* $FreeBSD: src/sys/kern/kern_tc.c,v 1.148 2003/03/18 08:45:23 phk Exp $
*/
@@ -20,7 +20,6 @@
#include <sys/malloc.h>
#include <dev/rndvar.h>
-#ifdef __HAVE_TIMECOUNTER
/*
* A large step happens on boot. This constant detects such steps.
* It is relatively small so that ntp_update_second gets called enough
@@ -639,4 +638,3 @@ tc_adjfreq(int64_t *old, int64_t *new)
}
return 0;
}
-#endif /* __HAVE_TIMECOUNTER */