bootdev: drop unnecessary assert on bootflow->bdev
PATCH 1/1 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]>
--- boot/bootdev-uclass.c | 1 - 1 file changed, 1 deletion(-)
boot/bootdev-uclass.c +0 -1
@@ -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;
---
base-commit: e8f2404e093daf6cc3ac2b3233e3c6770d13e371
change-id: 20240209-bootdev-assert-11714f63d72d
Best regards,
Signature · 1 line
Thomas Weißschuh <[email protected]>
Quoted 5 lines · Thomas Weißschuh
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]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom