mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: eliminate handle member
A pointer to a struct efi_object is a handle. We do not need any handle member in this structure. Let's eliminate it. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
faea104105
commit
fae0118e7a
7 changed files with 68 additions and 61 deletions
|
@ -150,7 +150,7 @@ static struct efi_object *find_obj(struct efi_device_path *dp, bool short_path,
|
|||
struct efi_device_path *obj_dp;
|
||||
efi_status_t ret;
|
||||
|
||||
ret = efi_search_protocol(efiobj->handle,
|
||||
ret = efi_search_protocol(efiobj,
|
||||
&efi_guid_device_path, &handler);
|
||||
if (ret != EFI_SUCCESS)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue