]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: remove superfluous NULL check in bootefi.c
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 20 Apr 2020 10:44:56 +0000 (12:44 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 30 Apr 2020 08:25:07 +0000 (10:25 +0200)
commit4fe050e65f61cc5e7734aee0637a18ac16b10061
tree59d90f0990e1c3fa5f02b6f07ea1192115620c54
parentb32ac16f9a321852806fcd473136204af6b49787
efi_loader: remove superfluous NULL check in bootefi.c

efi_free_pool() and efi_delete_handle() both check if their argument is
NULL. The caller should not duplicate this check.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/bootefi.c