mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
efi_loader: remove duplicate assignment
Assigning the value of a variable to itself should be avoided.
Addresses-Coverity-ID: 451089 ("Evaluation order violation")
Fixes: 180b7118be
("efi_loader: fix device-path for USB devices")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
a9203b0fef
commit
dfd4288173
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ __maybe_unused static void *dp_fill(void *buf, struct udevice *dev)
|
|||
#endif
|
||||
#if defined(CONFIG_USB)
|
||||
case UCLASS_MASS_STORAGE: {
|
||||
struct blk_desc *desc = desc = dev_get_uclass_plat(dev);
|
||||
struct blk_desc *desc = dev_get_uclass_plat(dev);
|
||||
struct efi_device_path_controller *dp =
|
||||
dp_fill(buf, dev->parent);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue