efi_loader: error code in UninstallProtocolInterface()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 May 2019 18:06:48 +0000 (20:06 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:54:22 +0000 (20:54 +0200)
commit96aa99cded0096bd6c6ea2919e6884c54c80f095
tree3ad1ac262f6ef203e2919a2a4817b377017227f6
parent61c63db7fe8af569229cb598b018c65f9ad9c95f
efi_loader: error code in UninstallProtocolInterface()

According to the UEFI specification UninstallProtocolInteface() has to
return EFI_NOT_FOUND if the interface is not found.

Correct the return value.

Cf. UEFI SCT II spec (2017), 3.3.2 UninstallProtocolInterface(), 5.1.3.2.4

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c