From: Kamalesh Babulal Date: Wed, 23 May 2012 09:14:11 +0000 (+0530) Subject: sched: Remove NULL assignment of dattr_cur X-Git-Tag: v3.5~240^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a4c96eef42f835734a82c6b512abf9881b7c55d;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20120523091411.GG5005@linux.vnet.ibm.com Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 94d598a..c46958e 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();