[PATCH 1/1] x86: remove dead code in intel_clk_get_rate()
Simon Glass
sjg at chromium.org
Sun Feb 16 20:03:08 CET 2020
On Sat, 15 Feb 2020 at 13:22, 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(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list