diff options
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 5f64fed56a44..728081a7ef1c 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1855,12 +1855,6 @@ static void dec_nr_running(struct rq *rq) | |||
1855 | 1855 | ||
1856 | static void set_load_weight(struct task_struct *p) | 1856 | static void set_load_weight(struct task_struct *p) |
1857 | { | 1857 | { |
1858 | if (task_has_rt_policy(p)) { | ||
1859 | p->se.load.weight = 0; | ||
1860 | p->se.load.inv_weight = WMULT_CONST; | ||
1861 | return; | ||
1862 | } | ||
1863 | |||
1864 | /* | 1858 | /* |
1865 | * SCHED_IDLE tasks get minimal weight: | 1859 | * SCHED_IDLE tasks get minimal weight: |
1866 | */ | 1860 | */ |