projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50f075
)
efi_loader: efi_dp_get_next_instance() superfluous statement
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 27 Sep 2018 18:55:04 +0000
(20:55 +0200)
committer
Alexander Graf
<agraf@suse.de>
Tue, 16 Oct 2018 20:56:18 +0000
(22:56 +0200)
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>
lib/efi_loader/efi_device_path.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_device_path.c
b/lib/efi_loader/efi_device_path.c
index 5a61a1c1dcf95fa194ed08040b0221cf19eeadd5..46a24f788241cf835e5c074a7e058efe0ca963f7 100644
(file)
--- a/
lib/efi_loader/efi_device_path.c
+++ b/
lib/efi_loader/efi_device_path.c
@@
-382,7
+382,6
@@
struct efi_device_path *efi_dp_get_next_instance(struct efi_device_path **dp,
*size = 0;
if (!dp || !*dp)
return NULL;
- p = *dp;
sz = efi_dp_instance_size(*dp);
p = dp_alloc(sz + sizeof(END));
if (!p)