[PATCH 1/1] dm: core: remove redundant assignment

Simon Glass sjg at chromium.org
Sun Feb 16 20:03:58 CET 2020


On Sat, 15 Feb 2020 at 13:46, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Variable count is initialized at the start of every round of the while
> loop and it is not used after the while loop. So there is no need to
> initialize it beforehand.
>
> Identified by cppcheck.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  drivers/core/of_access.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list