diff options
author | bde <bde@FreeBSD.org> | 1998-08-05 18:06:40 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-05 18:06:40 +0000 |
commit | 97d9660b1beb3daec6d7575598a4824145d40778 (patch) | |
tree | 6f92dbd4d2b253bb2704ec9f255544f3990c62f7 /sys/kern/kern_clock.c | |
parent | ada6e9f52beb88d644ee812f9d5185003ff2dfdc (diff) | |
download | FreeBSD-src-97d9660b1beb3daec6d7575598a4824145d40778.zip FreeBSD-src-97d9660b1beb3daec6d7575598a4824145d40778.tar.gz |
Removed unused function hzto().
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r-- | sys/kern/kern_clock.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 758adde..587a2df 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -39,7 +39,7 @@ static volatile int print_tci = 1; * SUCH DAMAGE. * * @(#)kern_clock.c 8.5 (Berkeley) 1/21/94 - * $Id: kern_clock.c,v 1.76 1998/07/04 19:29:15 phk Exp $ + * $Id: kern_clock.c,v 1.77 1998/07/11 07:45:39 bde Exp $ */ #include <sys/param.h> @@ -281,23 +281,6 @@ tvtohz(tv) return (ticks); } - -/* - * Compute number of hz until specified time. Used to - * compute third argument to timeout() from an absolute time. - */ -int -hzto(tv) - struct timeval *tv; -{ - struct timeval t2; - - getmicrotime(&t2); - t2.tv_sec = tv->tv_sec - t2.tv_sec; - t2.tv_usec = tv->tv_usec - t2.tv_usec; - return (tvtohz(&t2)); -} - /* * Start profiling on a process. * |