summaryrefslogtreecommitdiff
path: root/include/linux/sched/prio.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/prio.h')
-rw-r--r--include/linux/sched/prio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sched/prio.h b/include/linux/sched/prio.h
index 13216f16762e..410ccb74c9e6 100644
--- a/include/linux/sched/prio.h
+++ b/include/linux/sched/prio.h
@@ -27,7 +27,6 @@
*/
#define NICE_TO_PRIO(nice) (MAX_RT_PRIO + (nice) + 20)
#define PRIO_TO_NICE(prio) ((prio) - MAX_RT_PRIO - 20)
-#define TASK_NICE(p) PRIO_TO_NICE((p)->static_prio)
/*
* 'User priority' is the nice value converted to something we