[PATCH 1/1] x86: remove dead code in intel_clk_get_rate()

Bin Meng bmeng.cn at gmail.com
Thu Feb 20 14:40:39 CET 2020


On Sun, Feb 16, 2020 at 4:22 AM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> 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 at gmx.de>
> ---
>  drivers/clk/intel/clk_intel.c | 4 ----
>  1 file changed, 4 deletions(-)
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list