From: Dave Jones Date: Fri, 29 Dec 2006 03:30:16 +0000 (-0500) Subject: [CPUFREQ] longhaul: Fix up unreachable code. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1cfe2014263a879691d0262935a2649c97a02559;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [CPUFREQ] longhaul: Fix up unreachable code. Signed-off-by: RafaƂ Bilski Signed-off-by: Dave Jones --- 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