sched: remove redundant call to unregister_sched_domain_sysctl()
PATCH 1/1 sched: remove redundant call to unregister_sched_domain_sysctl()
The sysctl has been unregistered by partition_sched_domains().
Signed-off-by Li Zefan <[email protected]>
--- kernel/sched.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
kernel/sched.c +0 -2
@@ -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
Ingo Molnar
AppliedQuoted 6 lines · Li Zefan
The sysctl has been unregistered by
partition_sched_domains().Signed-off-by Li Zefan <[email protected]>--- kernel/sched.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
applied to tip/sched/core, thanks!
Ingo