[PATCH 1/1] lib/hashtable: remove superfluous check

Simon Glass sjg at chromium.org
Sat Aug 22 17:09:30 CEST 2020


On Thu, 20 Aug 2020 at 11:57, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> We assign first_deleted = 0. There is no need to check its value without
> any further assignment in between.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> indicated by cppcheck
> ---
>  lib/hashtable.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

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


More information about the U-Boot mailing list