efi_loader: simplify efi_uninstall_protocol_interface
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 26 Oct 2017 17:25:56 +0000 (19:25 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:22:56 +0000 (13:22 +0100)
commit5810511dac980929dbfe57e25ccdf72d5b7e38e4
treefc3cf6a71c3e5fa6e420656fc7587abb2464c2b2
parent42cf12420b0e5664fa118f3d19e153f48740664b
efi_loader: simplify efi_uninstall_protocol_interface

Use function efi_search_obj, efi_search_protocol and
efi_remove_protocol to simplify the coding.

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