sched/core: Remove unnecessary NULL-pointer check
[deliverable/linux.git] / kernel / sched / core.c
index 54fff81099225f2b66cd20e5023159241aed3f63..1b2dd5220170873c1c24ba2112ad0fa9b523dda2 100644 (file)
@@ -6854,8 +6854,6 @@ struct sched_domain *build_sched_domain(struct sched_domain_topology_level *tl,
                struct sched_domain *child, int cpu)
 {
        struct sched_domain *sd = sd_init(tl, cpu);
-       if (!sd)
-               return child;
 
        cpumask_and(sched_domain_span(sd), cpu_map, tl->mask(cpu));
        if (child) {
This page took 0.058318 seconds and 5 git commands to generate.