[PATCH] sched: remove redundant call to unregister_sched_domain_sysctl()

From: Li Zefan
Date: Tue Nov 04 2008 - 03:22:18 EST


The sysctl has been unregistered by partition_sched_domains().

Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
---
kernel/sched.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index e8819bc..bf75a5e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7734,8 +7734,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();
--
1.5.4.rc3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/