summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-05-28 10:04:51 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-28 15:42:49 +0300
commit2aa593bceff2698fe3ca714152064e4758cf5593 (patch)
treed51cbab7ca0823faeddd831992d0e38cc1ab80ef /src/storage.c
parentecc9daca9a8a7d480bc5ad31732b280b1e564c2f (diff)
downloadconnman-2aa593bceff2698fe3ca714152064e4758cf5593.tar.gz
connman-2aa593bceff2698fe3ca714152064e4758cf5593.tar.bz2
connman-2aa593bceff2698fe3ca714152064e4758cf5593.zip
storage: Remove obsolete functions that nobody calls
Config load and save functions are not called so they are not needed.
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/storage.c b/src/storage.c
index 5e703ebb..b93554d0 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -147,30 +147,6 @@ GKeyFile *__connman_storage_load_config(const char *ident)
return keyfile;
}
-void __connman_storage_save_config(GKeyFile *keyfile, const char *ident)
-{
- gchar *pathname;
-
- pathname = g_strdup_printf("%s/%s.config", STORAGEDIR, ident);
- if(pathname == NULL)
- return;
-
- storage_save(keyfile, pathname);
-}
-
-void __connman_storage_delete_config(const char *ident)
-{
- gchar *pathname;
-
- pathname = g_strdup_printf("%s/%s.config", STORAGEDIR, ident);
- if(pathname == NULL)
- return;
-
- storage_delete(pathname);
-
- g_free(pathname);
-}
-
GKeyFile *__connman_storage_open_service(const char *service_id)
{
gchar *pathname;