projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b37a0b5
)
efi_loader: remove redundant assignment in dp_fill()
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 5 May 2020 23:28:08 +0000
(
01:28
+0200)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 7 May 2020 16:23:16 +0000
(18:23 +0200)
The value of dp is overwritten without being used.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.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
73f1fe7
..
f934948
100644
(file)
--- a/
lib/efi_loader/efi_device_path.c
+++ b/
lib/efi_loader/efi_device_path.c
@@
-530,7
+530,7
@@
__maybe_unused static void *dp_fill(void *buf, struct udevice *dev)
#ifdef CONFIG_SANDBOX
case UCLASS_ROOT: {
/* stop traversing parents at this point: */
- struct efi_device_path_vendor *dp
= buf
;
+ struct efi_device_path_vendor *dp;
struct blk_desc *desc = dev_get_uclass_platdata(dev);
dp_fill(buf, dev->parent);