libkmod: Fix getting param with no value from kcmdline

This commit is contained in:
Lucas De Marchi 2013-08-13 22:04:46 -03:00
parent ea225b982c
commit 493dc650d6

View File

@ -518,7 +518,7 @@ static void kmod_config_free_softdep(struct kmod_config *config,
static void kcmdline_parse_result(struct kmod_config *config, char *modname,
char *param, char *value)
{
if (modname == NULL || param == NULL || value == NULL)
if (modname == NULL || param == NULL)
return;
DBG(config->ctx, "%s %s\n", modname, param);