summaryrefslogtreecommitdiff
path: root/src/network/networkd.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-12 17:11:13 +0200
committerTom Gundersen <teg@jklm.no>2014-05-12 17:37:58 +0200
commit0b44d8c3d7dfadb60b30c9339b18c4cc1617b51b (patch)
tree5e6207335195e8028da3976dad330c1a25e90aaa /src/network/networkd.c
parent7c8ec321e7b6fd97a6eb4b9a3daa16c51b97a74a (diff)
networkd: manager - don't leak kmod context
Also, keep the kmod_new internal to networkd-manager.c
Diffstat (limited to 'src/network/networkd.c')
-rw-r--r--src/network/networkd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/network/networkd.c b/src/network/networkd.c
index 39e1b2af02..6b3bf12a4c 100644
--- a/src/network/networkd.c
+++ b/src/network/networkd.c
@@ -87,12 +87,6 @@ int main(int argc, char *argv[]) {
goto out;
}
- r = manager_init_kmod_ctx(m);
- if (r < 0) {
- log_error("Could not init kmod context: %s", strerror(-r));
- goto out;
- }
-
r = manager_rtnl_enumerate_links(m);
if (r < 0) {
log_error("Could not enumerate links: %s", strerror(-r));