From: Heinrich Schuchardt Date: Tue, 5 May 2020 23:28:08 +0000 (+0200) Subject: efi_loader: remove redundant assignment in dp_fill() X-Git-Tag: v2020.10~228^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=549b79e8e04930f515ace28556d1cea779a1086a;p=platform%2Fkernel%2Fu-boot.git efi_loader: remove redundant assignment in dp_fill() The value of dp is overwritten without being used. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_device_path.c b/lib/efi_loader/efi_device_path.c index 73f1fe7..f934948 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);