Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d7876a08 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: remove unused JIFFIES_TO_NS() macro



remove unused JIFFIES_TO_NS() macro.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent bdd7c81b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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