[PATCH v3 07/10] of: overlay: drop unnecessary empty check in of_overlay_global_fixup_dir
Marco Felsch
m.felsch at pengutronix.de
Wed Jul 3 09:58:35 PDT 2024
This is now done during of_overlay_global_fixup() so we can drop it
here.
Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
drivers/of/overlay.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/of/overlay.c b/drivers/of/overlay.c
index a980e7aa5e02..822487908ede 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -461,9 +461,6 @@ static int of_overlay_global_fixup_dir(struct device_node *root, const char *ovl
if (*ovl_dir == '/')
return of_overlay_apply_dir(root, ovl_dir, true);
- if (*ovl_dir == '\0')
- return 0;
-
dir = concat_path_file(of_overlay_basedir, ovl_dir);
ret = of_overlay_apply_dir(root, dir, true);
--
2.39.2
More information about the barebox
mailing list