diff options
author | Dave Jones <davej@redhat.com> | 2006-12-28 22:30:16 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-12-28 22:30:16 -0500 |
commit | 1cfe2014263a879691d0262935a2649c97a02559 (patch) | |
tree | ebd16d1fb4699b8767a5a258eb143582c9318b63 /arch/i386/kernel/cpu | |
parent | d349c4a5ae1f17be8d6d5de30135ce17e0a8623b (diff) |
[CPUFREQ] longhaul: Fix up unreachable code.
Signed-off-by: RafaĆ Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/i386/kernel/cpu')
-rw-r--r-- | arch/i386/kernel/cpu/cpufreq/longhaul.c | 2 |
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 |