Skip to content

Commit 6a4c96e

Browse files
kamalesh-babulalIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 7997a45 commit 6a4c96e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/sched/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6726,7 +6726,6 @@ static int init_sched_domains(const struct cpumask *cpu_map)
67266726
if (!doms_cur)
67276727
doms_cur = &fallback_doms;
67286728
cpumask_andnot(doms_cur[0], cpu_map, cpu_isolated_map);
6729-
dattr_cur = NULL;
67306729
err = build_sched_domains(doms_cur[0], NULL);
67316730
register_sched_domain_sysctl();
67326731

0 commit comments

Comments
 (0)