From: Patrik Flykt <[email protected]>
---
src/storage.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/src/storage.c b/src/storage.c
index e35a893..a854073 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -256,16 +256,6 @@ GKeyFile *connman_storage_load_service(const char
*service_id)
keyfile = storage_load(pathname);
g_free(pathname);
- if (keyfile)
- return keyfile;
-
- pathname = g_strdup_printf("%s/%s", STORAGEDIR, DEFAULT);
- if(pathname == NULL)
- return NULL;
-
- keyfile = storage_load(pathname);
-
- g_free(pathname);
return keyfile;
}
--
1.7.10
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman