From 97d9660b1beb3daec6d7575598a4824145d40778 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 5 Aug 1998 18:06:40 +0000 Subject: Removed unused function hzto(). --- sys/kern/kern_tc.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'sys/kern/kern_tc.c') diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c index 758adde..587a2df 100644 --- a/sys/kern/kern_tc.c +++ b/sys/kern/kern_tc.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 @@ -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. * -- cgit v1.1