diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 21:03:34 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 21:03:34 +0200 |
commit | 7831c630912c9dc9e592d282ba1f9485c1dff9cc (patch) | |
tree | 3f56e4ac79765ec8babfb03f84eba74564a18639 /config.c | |
parent | 33a44b9c7d5e8c87303b8126fe9e01f8979f48e5 (diff) |
remove the argument to config_init_interfaces
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -331,7 +331,7 @@ config_init_package(const char *config) } void -config_init_interfaces(const char *name) +config_init_interfaces(void) { struct uci_package *p = NULL; struct uci_element *e; @@ -352,9 +352,6 @@ config_init_interfaces(const char *name) uci_foreach_element(&p->sections, e) { struct uci_section *s = uci_to_section(e); - if (name && strcmp(s->e.name, name) != 0) - continue; - if (!strcmp(s->type, "interface")) config_parse_interface(s); } |