ARM: cpu: dtb: Drop unnecessary check
PATCH 1/1 ARM: cpu: dtb: Drop unnecessary check
Signed-off-by Alexander Shiyan <[email protected]>
--- arch/arm/cpu/dtb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
arch/arm/cpu/dtb.c +2 -3
@@ -18,14 +18,13 @@ static int of_arm_init(void)/* See if we are provided a dtb in boarddata */ fdt =barebox_arm_boot_dtb (); -if (fdt) -pr_debug ("using boarddata provided DTB\n" ); -if (!fdt) {pr_debug ("No DTB found\n" );return 0 ; } +pr_debug ("using boarddata provided DTB\n" ); +return barebox_register_fdt (fdt); }core_initcall (of_arm_init);
Signature · 1 line
2.38.2
Sascha Hauer
AppliedQuoted 1 line · Alexander Shiyan
Applied, thanks!
[1/1] ARM: cpu: dtb: Drop unnecessary check
https://git.pengutronix.de/cgit/barebox/commit/?id=3aafa6bf8f71 (link may not be stable)
Best regards,
Signature · 1 line
Sascha Hauer <[email protected]>