From: Harvey Harrison Date: Sat, 9 Feb 2008 22:24:08 +0000 (+0100) Subject: x86: fix sparse warning in topology.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9583d050d5b7bad76423b2bd667b174a122067a7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 e6757aaa202b..a40051b71d9b 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