]> git.baikalelectronics.ru Git - uboot.git/commit
lib/hashtable: remove superfluous check
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 20 Aug 2020 17:57:45 +0000 (19:57 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 13 Oct 2020 01:30:37 +0000 (21:30 -0400)
commit5973315cc6dfba29d5635adbb02a7ab8cc80481c
tree8c47b6348dd5d6c890b381959fef26489602d7ad
parent337c62bf01c0c64c4505447c24db5b040c85f49f
lib/hashtable: remove superfluous check

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/hashtable.c