Commit 1cfe2014 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] longhaul: Fix up unreachable code.

Signed-off-by: default avatarRafał Bilski <rafalbilski@interia.pl>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent d349c4a5
...@@ -774,8 +774,8 @@ static int __init longhaul_init(void) ...@@ -774,8 +774,8 @@ static int __init longhaul_init(void)
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
if (num_online_cpus() > 1) { if (num_online_cpus() > 1) {
return -ENODEV;
printk(KERN_ERR PFX "More than 1 CPU detected, longhaul disabled.\n"); printk(KERN_ERR PFX "More than 1 CPU detected, longhaul disabled.\n");
return -ENODEV;
} }
#endif #endif
#ifdef CONFIG_X86_IO_APIC #ifdef CONFIG_X86_IO_APIC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment