summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorKamalesh Babulal <kamalesh@linux.vnet.ibm.com>2012-05-23 14:44:11 +0530
committerIngo Molnar <mingo@kernel.org>2012-05-30 14:02:27 +0200
commit6a4c96eef42f835734a82c6b512abf9881b7c55d (patch)
treed7b542e7606e0eaeec8f1160ea2eb37f18fa8d29 /kernel
parent7997a456ef841bb78eb6f881d7cc2c17c2f9b35e (diff)
downloadlinux-6a4c96eef42f835734a82c6b512abf9881b7c55d.tar.bz2
sched: Remove NULL assignment of dattr_cur
Remove explicit NULL assignment of static pointer dattr_cur from init_sched_domains(). Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20120523091411.GG5005@linux.vnet.ibm.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index 94d598ac5e64..c46958e26121 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6726,7 +6726,6 @@ static int init_sched_domains(const struct cpumask *cpu_map)
if (!doms_cur)
doms_cur = &fallback_doms;
cpumask_andnot(doms_cur[0], cpu_map, cpu_isolated_map);
- dattr_cur = NULL;
err = build_sched_domains(doms_cur[0], NULL);
register_sched_domain_sysctl();