miod@ dropped the last usage of BUMPTIME circa 5.3.
ok?
--
Scott Cheloha
Index: sys/kern/kern_clock.c
===================================================================
RCS file: /cvs/src/sys/kern/kern_clock.c,v
retrieving revision 1.94
diff -u -p -r1.94 kern_clock.c
--- sys/kern/kern_clock.c 14 May 2018 12:31:21 -0000 1.94
+++ sys/kern/kern_clock.c 4 Jun 2018 16:38:29 -0000
@@ -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;