Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a17e2260 authored by Li Zefan's avatar Li Zefan Committed by Ingo Molnar
Browse files

sched: remove redundant call to unregister_sched_domain_sysctl()



Impact: cleanup

The sysctl has been unregistered by partition_sched_domains().

Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0a0db8f5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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();