diff options
Diffstat (limited to 'ctrl/facemgr')
-rw-r--r-- | ctrl/facemgr/src/api.c | 1 | ||||
-rw-r--r-- | ctrl/facemgr/src/interfaces/network_framework/network_framework.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/ctrl/facemgr/src/api.c b/ctrl/facemgr/src/api.c index f630792c4..88595a9bc 100644 --- a/ctrl/facemgr/src/api.c +++ b/ctrl/facemgr/src/api.c @@ -1279,7 +1279,6 @@ facemgr_bootstrap(facemgr_t * facemgr) #ifdef __APPLE__ network_framework_cfg_t nf_cfg = { - .rules = &facemgr->rules, }; rc = facemgr_create_interface(facemgr, "nf", "network_framework", &nf_cfg, &facemgr->nf); if (rc < 0) { diff --git a/ctrl/facemgr/src/interfaces/network_framework/network_framework.c b/ctrl/facemgr/src/interfaces/network_framework/network_framework.c index 4a9d24f61..ed2f88e9e 100644 --- a/ctrl/facemgr/src/interfaces/network_framework/network_framework.c +++ b/ctrl/facemgr/src/interfaces/network_framework/network_framework.c @@ -529,11 +529,6 @@ int nf_initialize(interface_t * interface, void * cfg) if (!data) goto ERR_MALLOC; - if (cfg) - data->cfg = * (network_framework_cfg_t *)cfg; - else - data->cfg.rules = NULL; - data->pm = nw_path_monitor_create(); if (!data->pm) goto ERR_PM; |