summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-12-28 22:30:16 -0500
committerDave Jones <davej@redhat.com>2006-12-28 22:30:16 -0500
commit1cfe2014263a879691d0262935a2649c97a02559 (patch)
treeebd16d1fb4699b8767a5a258eb143582c9318b63
parentd349c4a5ae1f17be8d6d5de30135ce17e0a8623b (diff)
downloadkernel-crypto-1cfe2014263a879691d0262935a2649c97a02559.tar.gz
kernel-crypto-1cfe2014263a879691d0262935a2649c97a02559.tar.xz
kernel-crypto-1cfe2014263a879691d0262935a2649c97a02559.zip
[CPUFREQ] longhaul: Fix up unreachable code.
Signed-off-by: RafaƂ Bilski <rafalbilski@interia.pl> Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r--arch/i386/kernel/cpu/cpufreq/longhaul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index 6d9c97a690f..087e941b43d 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