diff options
Diffstat (limited to 'src/storage.c')
-rwxr-xr-x | src/storage.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/storage.c b/src/storage.c index 277e5f53..9be60def 100755 --- a/src/storage.c +++ b/src/storage.c @@ -212,28 +212,6 @@ GKeyFile *__connman_storage_load_provider_config(const char *ident) return keyfile; } -GKeyFile *__connman_storage_open_service(const char *service_id) -{ - gchar *pathname; - GKeyFile *keyfile = NULL; - - pathname = g_strdup_printf("%s/%s/%s", STORAGEDIR, service_id, SETTINGS); - if (!pathname) - return NULL; - - keyfile = storage_load(pathname); - if (keyfile) { - g_free(pathname); - return keyfile; - } - - g_free(pathname); - - keyfile = g_key_file_new(); - - return keyfile; -} - gchar **connman_storage_get_services(void) { struct dirent *d; |