From: Harvey Harrison Date: Sat, 9 Feb 2008 22:24:08 +0000 (+0100) Subject: x86: fix sparse warning in topology.c X-Git-Tag: v2.6.25-rc1~8^2~19 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9583d050d5b7bad76423b2bd667b174a122067a7;p=linux-2.6-omap-h63xx.git x86: fix sparse warning in topology.c arch/x86/kernel/topology.c:56:2: warning: returning void-valued expression Signed-off-by: Harvey Harrison Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/arch/x86/kernel/topology.c b/arch/x86/kernel/topology.c index e6757aaa202..a40051b71d9 100644 --- a/arch/x86/kernel/topology.c +++ b/arch/x86/kernel/topology.c @@ -53,7 +53,7 @@ EXPORT_SYMBOL(arch_register_cpu); void arch_unregister_cpu(int num) { - return unregister_cpu(&per_cpu(cpu_devices, num).cpu); + unregister_cpu(&per_cpu(cpu_devices, num).cpu); } EXPORT_SYMBOL(arch_unregister_cpu); #else