scripts: utils: migrate_sys_init: remove dead ZEPHYR_BASE

ZEPHYR_BASE is not used, so delete it.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2023-04-25 13:00:19 +02:00 committed by Carles Cufí
parent 90570c6b9d
commit 2dbbfaec6b

View File

@ -19,9 +19,6 @@ from pathlib import Path
import re
ZEPHYR_BASE = Path(__file__).parents[2]
def update_sys_init(project, dry_run):
for p in project.glob("**/*"):
if not p.is_file() or not p.suffix or p.suffix[1:] not in ("c", "cpp"):