]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: fix numaq_tsc_disable
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 15 Jul 2008 06:29:01 +0000 (23:29 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Jul 2008 17:27:08 +0000 (19:27 +0200)
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 <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/numaq_32.c

index 5b20a5e7ac28933e8200c269880cc167603cafeb..a23e8233b9ac59b8afbb0634be2a0c318defd652 100644 (file)
@@ -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");