From: Ingo Molnar Date: Fri, 25 Jan 2008 20:08:19 +0000 (+0100) Subject: sched: remove unused JIFFIES_TO_NS() macro X-Git-Tag: v2.6.25-rc1~1237^2~50 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7876a08db50895ed9808ede4a259cccf65eba47;p=linux-2.6 sched: remove unused JIFFIES_TO_NS() macro remove unused JIFFIES_TO_NS() macro. Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index 35ef06c992..461ee900d1 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -96,10 +96,9 @@ unsigned long long __attribute__((weak)) sched_clock(void) #define MAX_USER_PRIO (USER_PRIO(MAX_PRIO)) /* - * Some helpers for converting nanosecond timing to jiffy resolution + * Helpers for converting nanosecond timing to jiffy resolution */ #define NS_TO_JIFFIES(TIME) ((unsigned long)(TIME) / (NSEC_PER_SEC / HZ)) -#define JIFFIES_TO_NS(TIME) ((TIME) * (NSEC_PER_SEC / HZ)) #define NICE_0_LOAD SCHED_LOAD_SCALE #define NICE_0_SHIFT SCHED_LOAD_SHIFT