Now that libkmod uses modules.builtin.bin again, we don't need to add
the module names in modules.builtin.alias.bin and just add the aliases.
After this change, here are the new sizes for the indexes:
Before After index
21k 6.4K modules.builtin.alias.bin
11k 11K modules.builtin.bin
static int output_builtin_alias_bin(struct depmod *depmod, FILE *out)
{
- int ret = 0, count = 0;
+ int ret = 0;
struct index_node *idx;
struct kmod_list *l, *builtin = NULL;
}
kmod_module_info_free_list(info_list);
-
- index_insert(idx, modname, modname, 0);
- count++;
}
out: