sysrepoctl CHANGE list even all internal modules
@@ -126,7 +126,6 @@ static void
srctl_list_collect_import(const struct lys_module *ly_mod, struct list_item **list, size_t *list_count)
{
struct list_item *cur_item;
- const struct lys_module *ly_iter;
uint32_t i;
if (ly_mod->implemented) {
@@ -134,15 +133,6 @@ srctl_list_collect_import(const struct lys_module *ly_mod, struct list_item **li
return;
}
- /* skip internal modules */
- i = 0;
- while (i < ly_ctx_internal_modules_count(ly_mod->ctx)) {
- ly_iter = ly_ctx_get_module_iter(ly_mod->ctx, &i);
- if (ly_iter == ly_mod) {
- return;
- }
- }
-
/* check for duplicates */
for (i = 0; i < *list_count; ++i) {
if (strcmp((*list)[i].name, ly_mod->name)) {
