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

Bin Meng bmeng.cn at gmail.com
Tue Aug 1 12:21:42 UTC 2017


On Tue, Aug 1, 2017 at 5:11 PM, Simon Glass <sjg at chromium.org> wrote:
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list