Creator tagging for leafs, sort-modules: remove flag setting, yang_lib2yspec patch

This commit is contained in:
Olof hagsand 2023-04-13 21:11:57 +02:00
parent 6335f810d3
commit f8324df917
5 changed files with 14 additions and 11 deletions

View file

@ -1433,11 +1433,6 @@ yang_sort_modules(yang_stmt *yspec,
if (*ylen != modmax-modmin){
clicon_err(OE_YANG, EFAULT, "Internal error: mismatch sort vector lengths");
}
/* Unmark all nodes */
for (i=modmin; i<modmax; i++){
yn = yang_child_i(yspec, i);
yang_flag_set(yn, YANG_FLAG_MARK|YANG_FLAG_TMP);
}
retval = 0;
done:
return retval;