]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: do not try to close device path protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Jan 2018 07:15:56 +0000 (08:15 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:12 +0000 (23:09 +0100)
commit5be9744ae78a399b93e89d19777619714d178764
tree12a0afc7edf8436cd8e38f81bd941b0fcd4801a0
parent32e6fed6e93fad0b38aa5bdec085a3ae316aa97b
efi_selftest: do not try to close device path protocol

CloseProtocol cannot be called without agent handle.

There is no need to close the device path protocol if
it has been opened without agent handle.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/efi_selftest_devicepath.c