Skip to contentSkip to conversation

sched: remove redundant call to unregister_sched_domain_sysctl()

PATCH Applied Li Zefan 2 participants 2 messages Nov 4, 2008

lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/1 sched: remove redundant call to unregister_sched_domain_sysctl()

The sysctl has been unregistered by partition_sched_domains().

---
 kernel/sched.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
kernel/sched.c +0 -2
index e8819bc..bf75a5e 100644
@@ -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();
Signature · 1 line
1.5.4.rc3
Applied
#1 lore raw
Quoted 6 lines · Li Zefan

The sysctl has been unregistered by partition_sched_domains().

---
 kernel/sched.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

applied to tip/sched/core, thanks!

Ingo