aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-11-04 03:19:13 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-04 04:23:42 -0500
commita17e2260926f681a0eb983c1e3cb859ba2064bce (patch)
treebce98b23d8acf7d55270823c0ccc9f7963bf8a24 /kernel
parent0a0db8f5c9d4bbb9bbfcc2b6cb6bce2d0ef4d73d (diff)
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 <lizf@cn.fujitsu.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched.c2
1 files changed, 0 insertions, 2 deletions
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)
7691 cpumask_t tmpmask; 7691 cpumask_t tmpmask;
7692 int i; 7692 int i;
7693 7693
7694 unregister_sched_domain_sysctl();
7695
7696 for_each_cpu_mask_nr(i, *cpu_map) 7694 for_each_cpu_mask_nr(i, *cpu_map)
7697 cpu_attach_domain(NULL, &def_root_domain, i); 7695 cpu_attach_domain(NULL, &def_root_domain, i);
7698 synchronize_sched(); 7696 synchronize_sched();