[PATCH] 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 --- boot/bootdev-uclass.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/boot/bootdev-uclass.c b/boot/bootdev-uclass.c index 35afb93c0e73..0fa6dad8b11b 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;
--- base-commit: e8f2404e093daf6cc3ac2b3233e3c6770d13e371 change-id: 20240209-bootdev-assert-11714f63d72d
Best regards,

On Mon, Feb 12, 2024 at 10:35:12AM +0100, Thomas Weißschuh wrote:
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
Applied to u-boot/next, thanks!
participants (2)
-
Thomas Weißschuh
-
Tom Rini