All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Lee Irwin III <wli@holomorphy.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [cleanup] remove CT_TO_SECS()/CT_TO_USECS()
Date: Wed, 15 Dec 2004 01:34:02 -0800	[thread overview]
Message-ID: <20041215093402.GF771@holomorphy.com> (raw)

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;

                 reply	other threads:[~2004-12-15  9:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041215093402.GF771@holomorphy.com \
    --to=wli@holomorphy.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.