]> git.dujemihanovic.xyz Git - u-boot.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)
commit34ca77c1e113d42a63f8ae21b41ec7f9f356c1de
tree8c47b6348dd5d6c890b381959fef26489602d7ad
parent6a0498a5fd41b58b0c61b34f315771aac0eca0e0
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