Explorar el Código

[CPUFREQ] longhaul: Fix up unreachable code.

Signed-off-by: Rafał Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones hace 18 años
padre
commit
1cfe201426
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      arch/i386/kernel/cpu/cpufreq/longhaul.c

+ 1 - 1
arch/i386/kernel/cpu/cpufreq/longhaul.c

@@ -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