diff options
author | cheloha <cheloha@cvs.openbsd.org> | 2018-06-04 18:16:44 +0000 |
---|---|---|
committer | cheloha <cheloha@cvs.openbsd.org> | 2018-06-04 18:16:44 +0000 |
commit | 7f7d111ba931e1e242ece89fa9046f97aece7eb7 (patch) | |
tree | f623eee59189a8460343a0d1677cdf832fa0e49e | |
parent | 998194294a10579046c42ea74e964edd880bea92 (diff) |
drop BUMPTIME
unused since v1.76, ca 5.3
ok kettenis@ deraadt@
-rw-r--r-- | sys/kern/kern_clock.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index d77a4191d8c..4c1057d00e3 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_clock.c,v 1.94 2018/05/14 12:31:21 mpi Exp $ */ +/* $OpenBSD: kern_clock.c,v 1.95 2018/06/04 18:16:43 cheloha Exp $ */ /* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */ /*- @@ -79,20 +79,6 @@ * profhz/stathz for statistics. (For profiling, every tick counts.) */ -/* - * Bump a timeval by a small number of usec's. - */ -#define BUMPTIME(t, usec) { \ - volatile struct timeval *tp = (t); \ - long us; \ - \ - tp->tv_usec = us = tp->tv_usec + (usec); \ - if (us >= 1000000) { \ - tp->tv_usec = us - 1000000; \ - tp->tv_sec++; \ - } \ -} - int stathz; int schedhz; int profhz; |