diff options
author | Alan <gnomes@lxorguk.ukuu.org.uk> | 2016-02-17 14:10:15 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-17 18:00:15 +0100 |
commit | 8f8e2aec9944dd12671182a1a26b8e1a35872a1d (patch) | |
tree | adc9a243ef9df6c29b88f6301862d176d3edb3b9 /arch/x86/platform/intel-mid/mrfl.c | |
parent | 605a46ee8353e8292e93baa5dc13e6be98bbec43 (diff) | |
download | lwn-8f8e2aec9944dd12671182a1a26b8e1a35872a1d.tar.gz lwn-8f8e2aec9944dd12671182a1a26b8e1a35872a1d.zip |
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>
Diffstat (limited to 'arch/x86/platform/intel-mid/mrfl.c')
-rw-r--r-- | arch/x86/platform/intel-mid/mrfl.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/platform/intel-mid/mrfl.c b/arch/x86/platform/intel-mid/mrfl.c index aaca91753d32..bd1adc621781 100644 --- a/arch/x86/platform/intel-mid/mrfl.c +++ b/arch/x86/platform/intel-mid/mrfl.c @@ -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) |