efi_loader: simplify efi_open_protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 26 Nov 2017 13:05:15 +0000 (14:05 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:37:06 +0000 (13:37 +0100)
commit80286e8f811341e6054a85b69e2573a778ba42cf
tree59655b12cb24e8f214b6a08c998b0b4743e83fbf
parent9449358a71b7dfd96ed9f3fbd276d4a19daef1b5
efi_loader: simplify efi_open_protocol

Use function efi_search_protocol.

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