aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Weißschuh2024-02-12 10:35:12 +0100
committerTom Rini2024-03-02 12:26:19 -0500
commit8987c06f46dfd192f765c738b15119850054f18b (patch)
tree2b3e3b00c683cc8aacb596c09065c147f22db0e4
parent4c7363068651f222be6150050bb3aa9823ca6f78 (diff)
bootdev: drop unnecessary assert on bootflow->bdev
Not all flows have a device and the function already contains logic to handle this case. Fixes: eccb25cd5922 ("bootstd: Allow the bootdev to be optional in bootflows") Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
-rw-r--r--boot/bootdev-uclass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/boot/bootdev-uclass.c b/boot/bootdev-uclass.c
index 35afb93c0e7..0fa6dad8b11 100644
--- a/boot/bootdev-uclass.c
+++ b/boot/bootdev-uclass.c
@@ -39,7 +39,6 @@ int bootdev_add_bootflow(struct bootflow *bflow)
struct bootflow *new;
int ret;
- assert(bflow->dev);
ret = bootstd_get_priv(&std);
if (ret)
return ret;