lkml.org 
[lkml]   [2004]   [Dec]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 15 Dec 2004 01:34:02 -0800
FromWilliam Lee Irwin III <>
Subject[cleanup] remove CT_TO_SECS()/CT_TO_USECS()
CT_TO_SECS() and CT_TO_USECS() are used nowhere in the tree. This
patch removes them.

Index: mm1-2.6.10-rc3/include/linux/sched.h
===================================================================
--- mm1-2.6.10-rc3.orig/include/linux/sched.h	2004-12-15 01:01:48.000000000 -0800
+++ mm1-2.6.10-rc3/include/linux/sched.h	2004-12-15 01:02:29.000000000 -0800
@@ -88,9 +88,6 @@
 	load += n*(FIXED_1-exp); \
 	load >>= FSHIFT;
 
-#define CT_TO_SECS(x)	((x) / HZ)
-#define CT_TO_USECS(x)	(((x) % HZ) * 1000000/HZ)
-
 extern unsigned long total_forks;
 extern int nr_threads;
 extern int last_pid;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008