mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
@@ -530,7 +530,7 @@ __maybe_unused static void *dp_fill(void *buf, struct udevice *dev)
|
|||||||
#ifdef CONFIG_SANDBOX
|
#ifdef CONFIG_SANDBOX
|
||||||
case UCLASS_ROOT: {
|
case UCLASS_ROOT: {
|
||||||
/* stop traversing parents at this point: */
|
/* 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);
|
struct blk_desc *desc = dev_get_uclass_platdata(dev);
|
||||||
|
|
||||||
dp_fill(buf, dev->parent);
|
dp_fill(buf, dev->parent);
|
||||||
|
Reference in New Issue
Block a user