KMOD_EXPORT struct kmod_config_iter *kmod_config_get_blacklists(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_BLACKLIST);
}
KMOD_EXPORT struct kmod_config_iter *kmod_config_get_install_commands(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_INSTALL);
}
KMOD_EXPORT struct kmod_config_iter *kmod_config_get_remove_commands(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_REMOVE);
}
KMOD_EXPORT struct kmod_config_iter *kmod_config_get_aliases(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_ALIAS);
}
KMOD_EXPORT struct kmod_config_iter *kmod_config_get_options(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_OPTION);
}
KMOD_EXPORT struct kmod_config_iter *kmod_config_get_softdeps(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_SOFTDEP);
}
KMOD_EXPORT struct kmod_config_iter *kmod_config_get_weakdeps(const struct kmod_ctx *ctx)
{
if (ctx == NULL)
- return NULL;;
+ return NULL;
return kmod_config_iter_new(ctx, CONFIG_TYPE_WEAKDEP);
}