]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sched: remove unused JIFFIES_TO_NS() macro
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:19 +0000 (21:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 25 Jan 2008 20:08:19 +0000 (21:08 +0100)
remove unused JIFFIES_TO_NS() macro.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index 35ef06c99214cb0da2fa7b644002e14880f17741..461ee900d1acfdc0ff0b5827e07c660c36375f92 100644 (file)
@@ -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