main: don't activate nm-netlink-monitor

It will be activated by the first module that needs it.
This commit is contained in:
Pavel Šimerda 2013-03-13 20:12:00 +01:00
parent 363dece23b
commit fa86a377a0

View file

@ -321,7 +321,6 @@ main (int argc, char *argv[])
NMFirewallManager *fw_mgr = NULL;
NMSettings *settings = NULL;
NMConfig *config;
NMNetlinkMonitor *monitor = NULL;
GError *error = NULL;
gboolean wrote_pidfile = FALSE;
@ -505,9 +504,6 @@ main (int argc, char *argv[])
main_loop = g_main_loop_new (NULL, FALSE);
/* Create netlink monitor object */
monitor = nm_netlink_monitor_get ();
/* Initialize our DBus service & connection */
dbus_mgr = nm_dbus_manager_get ();