x86/platform/intel/mid: Remove dead code
Neither ratio nor fsb are ever zero, so remove the 0 case. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
parent
605a46ee83
commit
8f8e2aec99
|
@ -52,10 +52,7 @@ static unsigned long __init mfld_calibrate_tsc(void)
|
|||
/* mark tsc clocksource as reliable */
|
||||
set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE);
|
||||
|
||||
if (fast_calibrate)
|
||||
return fast_calibrate;
|
||||
|
||||
return 0;
|
||||
return fast_calibrate;
|
||||
}
|
||||
|
||||
static void __init penwell_arch_setup(void)
|
||||
|
|
|
@ -81,10 +81,7 @@ static unsigned long __init tangier_calibrate_tsc(void)
|
|||
/* mark tsc clocksource as reliable */
|
||||
set_cpu_cap(&boot_cpu_data, X86_FEATURE_TSC_RELIABLE);
|
||||
|
||||
if (fast_calibrate)
|
||||
return fast_calibrate;
|
||||
|
||||
return 0;
|
||||
return fast_calibrate;
|
||||
}
|
||||
|
||||
static void __init tangier_arch_setup(void)
|
||||
|
|
Loading…
Reference in New Issue