diff options
| author | Thomas Weißschuh <[email protected]> | 2024-02-12 10:35:12 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-03-02 12:26:19 -0500 |
| commit | 8987c06f46dfd192f765c738b15119850054f18b (patch) | |
| tree | 2b3e3b00c683cc8aacb596c09065c147f22db0e4 /boot | |
| parent | 4c7363068651f222be6150050bb3aa9823ca6f78 (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 <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/bootdev-uclass.c | 1 |
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; |
