From: Yinghai Lu Date: Tue, 15 Jul 2008 06:29:01 +0000 (-0700) Subject: x86: fix numaq_tsc_disable X-Git-Tag: v2.6.27-rc1~1038^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9354094a95aed456a46b353b1051a7e2fab29045;p=linux-2.6-omap-h63xx.git x86: fix numaq_tsc_disable fix: arch/x86/kernel/numaq_32.c: In function ‘numaq_tsc_disable’: arch/x86/kernel/numaq_32.c:99: warning: ‘return’ with a value, in function returning void Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/numaq_32.c b/arch/x86/kernel/numaq_32.c index 5b20a5e7ac2..a23e8233b9a 100644 --- a/arch/x86/kernel/numaq_32.c +++ b/arch/x86/kernel/numaq_32.c @@ -96,7 +96,7 @@ int __init get_memcfg_numaq(void) void __init numaq_tsc_disable(void) { if (!found_numaq) - return -1; + return; if (num_online_nodes() > 1) { printk(KERN_DEBUG "NUMAQ: disabling TSC\n");