mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
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:
parent
4c73630686
commit
8987c06f46
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue