From: Dave Jones Date: Fri, 29 Dec 2006 03:30:16 +0000 (-0500) Subject: [CPUFREQ] longhaul: Fix up unreachable code. X-Git-Tag: v2.6.20-rc4~90^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cfe2014263a879691d0262935a2649c97a02559;p=linux-2.6 [CPUFREQ] longhaul: Fix up unreachable code. Signed-off-by: RafaƂ Bilski Signed-off-by: Dave Jones --- diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c index 6d9c97a690..087e941b43 100644 --- a/arch/i386/kernel/cpu/cpufreq/longhaul.c +++ b/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