diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-07-25 20:12:02 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-08-01 20:17:02 +0800 |
commit | fde1801eaa09adcbb26b53e53a52e5067e23d1dd (patch) | |
tree | c279116b7f7987d3f1f32073ed235e7b617ea65f /drivers/fpga/lattice.c | |
parent | 0b992e4932303b0a379f590f67ec9759fc97275e (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>
Diffstat (limited to 'drivers/fpga/lattice.c')
0 files changed, 0 insertions, 0 deletions