bootdev: drop unnecessary assert on bootflow->bdev

Not all flows have a device and the function already contains logic to
handle this case.

Fixes: eccb25cd59 ("bootstd: Allow the bootdev to be optional in bootflows")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
This commit is contained in:
Thomas Weißschuh 2024-02-12 10:35:12 +01:00 committed by Tom Rini
parent 4c73630686
commit 8987c06f46

View file

@ -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;