summaryrefslogtreecommitdiff
path: root/src/network/networkd-manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-28 11:39:37 +0200
committerTom Gundersen <teg@jklm.no>2014-07-28 11:46:57 +0200
commitae06ab1014641feb83ffd0d08f0957e69bbbae08 (patch)
treeffa48da764daaefe1263094c836fb7c3b5c6fca7 /src/network/networkd-manager.c
parent527503444ef24ae03c73cf85128c7acbb1146f3c (diff)
networkd: store ifindex as int
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r--src/network/networkd-manager.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index b0e3191a00..223cb2a75a 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -114,10 +114,6 @@ int manager_new(Manager **ret) {
return -ENOMEM;
}
- m->links = hashmap_new(uint64_hash_func, uint64_compare_func);
- if (!m->links)
- return -ENOMEM;
-
m->netdevs = hashmap_new(string_hash_func, string_compare_func);
if (!m->netdevs)
return -ENOMEM;