Commit bfbcbef1 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sched: arch_destroy_sched_domains warning fix

kernel/sched.c:4114: warning: `arch_destroy_sched_domains' defined but not used
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5927637c
...@@ -4560,10 +4560,12 @@ static void __devinit arch_init_sched_domains(void) ...@@ -4560,10 +4560,12 @@ static void __devinit arch_init_sched_domains(void)
} }
} }
#ifdef CONFIG_HOTPLUG_CPU
static void __devinit arch_destroy_sched_domains(void) static void __devinit arch_destroy_sched_domains(void)
{ {
/* Do nothing: everything is statically allocated. */ /* Do nothing: everything is statically allocated. */
} }
#endif
#undef SCHED_DOMAIN_DEBUG #undef SCHED_DOMAIN_DEBUG
#ifdef SCHED_DOMAIN_DEBUG #ifdef SCHED_DOMAIN_DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment