]> err.no Git - linux-2.6/commitdiff
[CPUFREQ] longhaul: Fix up unreachable code.
authorDave Jones <davej@redhat.com>
Fri, 29 Dec 2006 03:30:16 +0000 (22:30 -0500)
committerDave Jones <davej@redhat.com>
Fri, 29 Dec 2006 03:30:16 +0000 (22:30 -0500)
Signed-off-by: RafaƂ Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c

index 6d9c97a690fd076e520a8134a3f87976ff064663..087e941b43de4069a42589c7fb729f5833061210 100644 (file)
@@ -774,8 +774,8 @@ static int __init longhaul_init(void)
 
 #ifdef CONFIG_SMP
        if (num_online_cpus() > 1) {
-               return -ENODEV;
                printk(KERN_ERR PFX "More than 1 CPU detected, longhaul disabled.\n");
+               return -ENODEV;
        }
 #endif
 #ifdef CONFIG_X86_IO_APIC