commit | 38a2a48cd9e4697cb8942e56212610d4248ea34c | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 15 21:22:00 2020 +0100 |
committer | Bin Meng <bmeng.cn@gmail.com> | Thu Mar 05 18:19:40 2020 +0800 |
tree | bc2fa44aff8cb0ead641af2425d8873eae64277a | |
parent | e98ea49a0eac64ae8759ba45e4105bfb0be95dc2 [diff] |
x86: remove dead code in intel_clk_get_rate() If all branches of a switch statement have a return instruction, all subsequent lines are unreachable. Identified with cppcheck. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>