Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f8e2aec authored by Alan's avatar Alan Committed by Ingo Molnar
Browse files

x86/platform/intel/mid: Remove dead code



Neither ratio nor fsb are ever zero, so remove the 0 case.

Signed-off-by: default avatarAlan 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: default avatarIngo Molnar <mingo@kernel.org>
parent 605a46ee
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;
}

static void __init penwell_arch_setup(void)
+1 −4
Original line number Diff line number Diff line
@@ -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;
}

static void __init tangier_arch_setup(void)