I came across the following TODO:
|
/* TODO: rework to create the hash within this function and remove the _maybe_unused_ |
|
* workaround */ |
after inspecting the usages of this function, I think that it is possible to move the logic of kmod_module_new_from_alias
|
int kmod_module_new_from_alias(struct kmod_ctx *ctx, const char *alias, const char *name, |
|
struct kmod_module **mod) |
into
kmod_module_new and updating the callers to call
kmod_module_new
I am waiting for a response before starting to implement the changes.
I came across the following TODO:
kmod/libkmod/libkmod-module.c
Lines 236 to 237 in e3d6b39
after inspecting the usages of this function, I think that it is possible to move the logic of
kmod_module_new_from_aliaskmod/libkmod/libkmod-module.c
Lines 301 to 302 in e3d6b39
into
kmod_module_newand updating the callers to callkmod_module_newI am waiting for a response before starting to implement the changes.