mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02: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:
committed by
Alexander Graf
parent
faea104105
commit
fae0118e7a
@@ -442,7 +442,7 @@ efi_status_t efi_gop_register(void)
|
||||
efi_add_handle(&gopobj->parent);
|
||||
|
||||
/* Fill in object data */
|
||||
ret = efi_add_protocol(gopobj->parent.handle, &efi_gop_guid,
|
||||
ret = efi_add_protocol(&gopobj->parent, &efi_gop_guid,
|
||||
&gopobj->ops);
|
||||
if (ret != EFI_SUCCESS) {
|
||||
printf("ERROR: Failure adding gop protocol\n");
|
||||
|
Reference in New Issue
Block a user