diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-02-18 21:26:06 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-21 21:28:49 -0500 |
commit | 3e5caddf4840e40b49ccf24e1ce7b531a692023b (patch) | |
tree | e4664b15c5c53d93654eeba8a8d6ff8014c3f81e /src/monitor | |
parent | 4f2951e4d3b4470babd76dffff7ef89b1f7bd7d3 (diff) | |
download | sssd-3e5caddf4840e40b49ccf24e1ce7b531a692023b.tar.gz sssd-3e5caddf4840e40b49ccf24e1ce7b531a692023b.tar.bz2 sssd-3e5caddf4840e40b49ccf24e1ce7b531a692023b.zip |
remove unused function
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 190417c3..5293a345 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -1331,26 +1331,6 @@ static void signal_offline_reset(struct tevent_context *ev, } } -int read_config_file(const char *config_file) -{ - int ret; - struct collection_item *sssd_config = NULL; - struct collection_item *error_list = NULL; - - /* Read the configuration into a collection */ - ret = config_from_file("sssd", config_file, &sssd_config, - INI_STOP_ON_ANY, &error_list); - if (ret != EOK) { - DEBUG(0, ("Parse error reading configuration file [%s]\n", - config_file)); - print_file_parsing_errors(stderr, error_list); - } - - free_ini_config_errors(error_list); - free_ini_config(sssd_config); - return ret; -} - static int monitor_ctx_destructor(void *mem) { struct mt_ctx *mon = talloc_get_type(mem, struct mt_ctx); |