From: Li Zefan Date: Tue, 4 Nov 2008 08:19:13 +0000 (+0800) Subject: sched: remove redundant call to unregister_sched_domain_sysctl() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a17e2260926f681a0eb983c1e3cb859ba2064bce;p=linux-beck.git sched: remove redundant call to unregister_sched_domain_sysctl() Impact: cleanup The sysctl has been unregistered by partition_sched_domains(). Signed-off-by: Li Zefan Acked-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched.c b/kernel/sched.c index 7ac59bae87d2..3cb94fad33ca 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -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();