efi_loader: superfluous check in efi_remove_protocol()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 May 2019 17:55:53 +0000 (19:55 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:54:22 +0000 (20:54 +0200)
commit61c63db7fe8af569229cb598b018c65f9ad9c95f
treeee5071c8c432aa1bf2fbcd7fad382dc04162b135
parentab557141c2ddb9cccffa992651a240b63d5fbf5b
efi_loader: superfluous check in efi_remove_protocol()

efi_search_protocol() already checks that the GUID matches. Don't check
a second time.

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