summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-02-18 21:26:06 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-02-21 21:26:16 -0500
commitc97c42388044330c8511b9bee6f87eef856e12c3 (patch)
tree82f3b07dd5eb3e1ee1115818a40ddd36dba92bb9
parent1a23caf7ca69bb7a16aec3e093ad6d64116d87f3 (diff)
downloadsssd-c97c42388044330c8511b9bee6f87eef856e12c3.tar.gz
sssd-c97c42388044330c8511b9bee6f87eef856e12c3.tar.xz
sssd-c97c42388044330c8511b9bee6f87eef856e12c3.zip
remove unused function
-rw-r--r--src/monitor/monitor.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 190417c35..5293a3453 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);