From: John Crispin Date: Sat, 16 Nov 2013 19:55:14 +0000 (+0100) Subject: revert 2fdd374f4214129d93f10b7001adece9239752a2 X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fubox.git;a=commitdiff_plain;h=b5dc53828bc69611cb474c95c9b23e70a2288391 revert 2fdd374f4214129d93f10b7001adece9239752a2 Signed-off-by: John Crispin --- diff --git a/kmodloader.c b/kmodloader.c index 3238190..11af0ae 100644 --- a/kmodloader.c +++ b/kmodloader.c @@ -55,7 +55,6 @@ struct module { char *name; char *depends; - char *options; int size; int usage; @@ -456,7 +455,7 @@ static int load_modprobe(void) todo = 0; avl_for_each_element(&modules, m, avl) { if ((m->state == PROBE) && (!deps_available(m, 0))) { - if (!insert_module(get_module_path(m->name), m->options)) { + if (!insert_module(get_module_path(m->name), "")) { m->state = LOADED; m->error = 0; loaded++; @@ -710,7 +709,6 @@ static int main_loader(int argc, char **argv) if (!m || (m->state == LOADED)) continue; - m->options = opts; m->state = PROBE; if (basename(gl.gl_pathv[j])[0] - '0' <= 9) load_modprobe();