summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-10-14 14:26:30 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-10-14 14:26:30 +0200
commit629ec10165691a7c5f9a7dfe3859644c280654c9 (patch)
treec4e3240c36eab18e0a2f3bbaea3c124fff9bc4f7 /src
parenta69968d931fee36826442a5af7e8286f3287133c (diff)
downloadconnman-629ec10165691a7c5f9a7dfe3859644c280654c9.tar.gz
connman-629ec10165691a7c5f9a7dfe3859644c280654c9.tar.bz2
connman-629ec10165691a7c5f9a7dfe3859644c280654c9.zip
Remove link_flags callback
Diffstat (limited to 'src')
-rw-r--r--src/rtnl.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/rtnl.c b/src/rtnl.c
index 35fa54b7..f02c94b5 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -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)