chiark / gitweb /
networkd: manager - don't leak kmod context
[elogind.git] / src / network / networkd.c
index 39e1b2af02d4304c7bd915e715d84583b209b4f1..6b3bf12a4cf3e32299d4dcb52dab159b204cd97f 100644 (file)
@@ -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));