commit | c36aca76b07effc93e5df6aa08cac9061d93298e | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Jul 25 20:12:02 2017 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Aug 01 20:17:02 2017 +0800 |
tree | c279116b7f7987d3f1f32073ed235e7b617ea65f | |
parent | d159ffb5921c5066918b4efc2bdc3b9fd0954ff1 [diff] |
x86: tsc: Remove the fail handling in try_msr_calibrate_tsc() 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@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>