]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sched: remove redundant call to unregister_sched_domain_sysctl()
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 4 Nov 2008 08:19:13 +0000 (16:19 +0800)
committerIngo Molnar <mingo@elte.hu>
Tue, 4 Nov 2008 09:23:42 +0000 (10:23 +0100)
Impact: cleanup

The sysctl has been unregistered by partition_sched_domains().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index 7ac59bae87d2c2a00fe20c931628c0aff48533ef..3cb94fad33cae5f3dabd8b4b2091b85b1ea9768e 100644 (file)
@@ -7691,8 +7691,6 @@ static void detach_destroy_domains(const cpumask_t *cpu_map)
        cpumask_t tmpmask;
        int i;
 
-       unregister_sched_domain_sysctl();
-
        for_each_cpu_mask_nr(i, *cpu_map)
                cpu_attach_domain(NULL, &def_root_domain, i);
        synchronize_sched();