[PATCH v2 08/11] of: overlay: drop unnecessary empty check in of_overlay_global_fixup_dir
Marco Felsch
m.felsch at pengutronix.de
Thu Jun 13 05:58:15 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 941cd3d51883..dad4e05ca27f 100644
--- a/drivers/of/overlay.c
+++ b/drivers/of/overlay.c
@@ -462,9 +462,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