diff options
author | Dave Jones <davej@redhat.com> | 2006-12-29 06:30:16 +0300 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-12-29 06:30:16 +0300 |
commit | 1cfe2014263a879691d0262935a2649c97a02559 (patch) | |
tree | ebd16d1fb4699b8767a5a258eb143582c9318b63 /arch | |
parent | d349c4a5ae1f17be8d6d5de30135ce17e0a8623b (diff) | |
download | linux-1cfe2014263a879691d0262935a2649c97a02559.tar.xz |
[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')
-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 6d9c97a690fd..087e941b43de 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 |