[PATCH 6/7] proftool: Remove unused variables in make_flame_tree

Simon Glass sjg at chromium.org
Tue Feb 28 01:35:28 CET 2023


On Mon, 27 Feb 2023 at 15:08, Tom Rini <trini at konsulko.com> wrote:
>
> With clang-15 we now get reported that in the make_flame_tree function,
> neither the missing_count nor depth variables are used, only
> incremenete/decremented. Remove these.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Cc: Simon Glass <sjg at chromium.org>
> ---
>  tools/proftool.c | 15 +--------------
>  1 file changed, 1 insertion(+), 14 deletions(-)

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

Yes I removed the debugging but wasn't 100% sure it wasn't needed,
then forgot about it :-)


More information about the U-Boot mailing list