diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-10-14 14:26:30 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-10-14 14:26:30 +0200 |
commit | 629ec10165691a7c5f9a7dfe3859644c280654c9 (patch) | |
tree | c4e3240c36eab18e0a2f3bbaea3c124fff9bc4f7 /src | |
parent | a69968d931fee36826442a5af7e8286f3287133c (diff) | |
download | connman-629ec10165691a7c5f9a7dfe3859644c280654c9.tar.gz connman-629ec10165691a7c5f9a7dfe3859644c280654c9.tar.bz2 connman-629ec10165691a7c5f9a7dfe3859644c280654c9.zip |
Remove link_flags callback
Diffstat (limited to 'src')
-rw-r--r-- | src/rtnl.c | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -124,24 +124,6 @@ static void process_dellink(unsigned short type, int index, g_static_rw_lock_reader_unlock(&rtnl_lock); } -static void process_link_flags(int index, short flags) -{ - GSList *list; - - DBG("idex %d", index); - - g_static_rw_lock_reader_lock(&rtnl_lock); - - for (list = rtnl_list; list; list = list->next) { - struct connman_rtnl *rtnl = list->data; - - if (rtnl->link_flags) - rtnl->link_flags(index, flags); - } - - g_static_rw_lock_reader_unlock(&rtnl_lock); -} - static inline void print_inet(struct rtattr *attr, const char *name, int family) { if (family == AF_INET) { @@ -244,8 +226,6 @@ static void rtnl_link(struct nlmsghdr *hdr) break; } } - - process_link_flags(msg->ifi_index, msg->ifi_flags); } static void rtnl_newlink(struct nlmsghdr *hdr) |