From caf30d9fd9c3c9fdd1d00576e6fa27f7fbd30b22 Mon Sep 17 00:00:00 2001 From: Hillf Danton Date: Sat, 23 Apr 2011 21:29:05 +0800 Subject: [PATCH] --- yaml --- r: 245598 b: refs/heads/master c: 1437f5bca3c2d162f058cba37dfbeb20f619040d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/kernel/sched.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 7ebc1f8e2c6d..159dc180bd30 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 625f2a378e5a10f45fdc37932fc9f8a21676de9e +refs/heads/master: 1437f5bca3c2d162f058cba37dfbeb20f619040d diff --git a/trunk/kernel/sched.c b/trunk/kernel/sched.c index 9cde2dd229c9..f11a2a5d03aa 100644 --- a/trunk/kernel/sched.c +++ b/trunk/kernel/sched.c @@ -8226,7 +8226,6 @@ int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) { struct rt_rq *rt_rq; struct sched_rt_entity *rt_se; - struct rq *rq; int i; tg->rt_rq = kzalloc(sizeof(rt_rq) * nr_cpu_ids, GFP_KERNEL); @@ -8240,8 +8239,6 @@ int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) ktime_to_ns(def_rt_bandwidth.rt_period), 0); for_each_possible_cpu(i) { - rq = cpu_rq(i); - rt_rq = kzalloc_node(sizeof(struct rt_rq), GFP_KERNEL, cpu_to_node(i)); if (!rt_rq)