diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-06 01:28:08 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-05-07 18:23:16 +0200 |
commit | 549b79e8e04930f515ace28556d1cea779a1086a (patch) | |
tree | a4bb505baae8b5bdf5498d2d422bfe920aeeb5d4 /lib | |
parent | b37a0b5c896f07958aa8c6759abe83c5a08a4de9 (diff) | |
download | u-boot-549b79e8e04930f515ace28556d1cea779a1086a.tar.gz |
efi_loader: remove redundant assignment in dp_fill()
The value of dp is overwritten without being used.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/efi_loader/efi_device_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index 73f1fe75a8..f9349484a6 100644 --- 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); |