mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
efi_loader: efi_dp_get_next_instance() superfluous statement
Remove a superfluous statement in efi_dp_get_next_instance(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
b50f075286
commit
d081f27fc2
1 changed files with 0 additions and 1 deletions
|
@ -382,7 +382,6 @@ struct efi_device_path *efi_dp_get_next_instance(struct efi_device_path **dp,
|
||||||
*size = 0;
|
*size = 0;
|
||||||
if (!dp || !*dp)
|
if (!dp || !*dp)
|
||||||
return NULL;
|
return NULL;
|
||||||
p = *dp;
|
|
||||||
sz = efi_dp_instance_size(*dp);
|
sz = efi_dp_instance_size(*dp);
|
||||||
p = dp_alloc(sz + sizeof(END));
|
p = dp_alloc(sz + sizeof(END));
|
||||||
if (!p)
|
if (!p)
|
||||||
|
|
Loading…
Add table
Reference in a new issue