[U-Boot] [PATCH 3/6] x86: tsc: Remove the fail handling in try_msr_calibrate_tsc()

Simon Glass sjg at chromium.org
Tue Aug 1 09:11:17 UTC 2017


On 25 July 2017 at 21:12, Bin Meng <bmeng.cn at gmail.com> wrote:
> If either ratio or freq is zero, the return value is zero. There
> is no need to create a fail branch and return zero there.
>
> This keeps in sync with Linux kernel commit:
>   14bb4e3: x86/tsc_msr: Remove debugging messages
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/timer/tsc_timer.c | 9 ---------
>  1 file changed, 9 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list