From 621c759650fd6388c1dcca42ebed6ad03c2fd200 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Aug 27 2014 15:57:02 +0000 Subject: Eliminate some dead code --- diff --git a/src/util.c b/src/util.c index 117dd47..67143d5 100644 --- a/src/util.c +++ b/src/util.c @@ -170,21 +170,3 @@ get_config_entry(char * in_data, const char *section, const char *key) free(data); return NULL; } - -/* Get the IPA server from the configuration file. - * The caller is responsible for freeing this value - */ -char * -get_ipa_server(char * data) -{ - return get_config_entry(data, "defaults", "server"); -} - -/* Get the IPA realm from the configuration file. - * The caller is responsible for freeing this value - */ -char * -get_ipa_realm(char * data) -{ - return get_config_entry(data, "defaults", "realm"); -} diff --git a/src/util.h b/src/util.h index 13840b5..c1bcd0a 100644 --- a/src/util.h +++ b/src/util.h @@ -20,7 +20,5 @@ char *read_config_file(const char *filename); char *get_config_entry(char *data, const char *section, const char *key); -char *get_ipa_server(char *data); -char *get_ipa_realm(char *data); #endif