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 | |
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')
-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) | |||
774 | 774 | ||
775 | #ifdef CONFIG_SMP | 775 | #ifdef CONFIG_SMP |
776 | if (num_online_cpus() > 1) { | 776 | if (num_online_cpus() > 1) { |
777 | return -ENODEV; | ||
778 | printk(KERN_ERR PFX "More than 1 CPU detected, longhaul disabled.\n"); | 777 | printk(KERN_ERR PFX "More than 1 CPU detected, longhaul disabled.\n"); |
778 | return -ENODEV; | ||
779 | } | 779 | } |
780 | #endif | 780 | #endif |
781 | #ifdef CONFIG_X86_IO_APIC | 781 | #ifdef CONFIG_X86_IO_APIC |