All of lore.kernel.org
 help / color / mirror / Atom feed
* [cleanup] remove CT_TO_SECS()/CT_TO_USECS()
@ 2004-12-15  9:34 William Lee Irwin III
  0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2004-12-15  9:34 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-15  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15  9:34 [cleanup] remove CT_TO_SECS()/CT_TO_USECS() William Lee Irwin III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.