summaryrefslogtreecommitdiffhomepage
path: root/interface.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-04 15:01:22 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-05-04 15:01:22 +0200
commite64619267d7b4e5f5fec57718c0e11e7844dc9ee (patch)
treee3446ad13a259398c9721fa3183845f55b9d9603 /interface.c
parent0942c9368654ee1a0518bbeaf291a51852c11543 (diff)
convert interface event queueing to global interface notifier
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/interface.c b/interface.c
index 892dade..e43791c 100644
--- a/interface.c
+++ b/interface.c
@@ -127,8 +127,6 @@ interface_event(struct interface *iface, enum interface_event ev)
list_for_each_entry_safe(dep, tmp, &iface_all_users, list)
dep->cb(dep, iface, ev);
-
- interface_queue_event(iface, ev);
}
static void
@@ -252,7 +250,6 @@ interface_cleanup(struct interface *iface, bool reload)
list_for_each_entry_safe(dep, tmp, &iface->users, list)
interface_remove_user(dep);
- interface_dequeue_event(iface);
interface_ip_flush(&iface->config_ip);
interface_flush_state(iface);
interface_clear_errors(iface);