]> git.baikalelectronics.ru Git - uboot.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)
commit18879f3d0d0144029c27b11e63bc343f2c11bc61
tree12a0afc7edf8436cd8e38f81bd941b0fcd4801a0
parent17512623d94f8af19d12e6e09d72f5efe14556a1
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