From: Glauber Costa Date: Thu, 10 Jul 2008 17:01:47 +0000 (-0300) Subject: x86: remove duplicate call to use_tsc_delay X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e54afe38630e3b577968428f48ed8ef1e13a2a15;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git x86: remove duplicate call to use_tsc_delay Integration generated a duplicate call to use_tsc_delay. Particularly, the one that is done before we check for general tsc usability seems wrong. Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 4a775d00195..3c36f92160c 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -513,7 +513,6 @@ void __init tsc_init(void) */ for_each_possible_cpu(cpu) set_cyc2ns_scale(cpu_khz, cpu); - use_tsc_delay(); if (tsc_disabled > 0) return;