[PATCH 1/1] dm: core: remove redundant assignment
sjg at google.com
sjg at google.com
Tue Mar 3 03:46:10 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>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list