summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-18 11:44:06 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-24 16:33:24 +0300
commit86cd761a6e375875ec904ea378ed61d4fc41e1b8 (patch)
tree9fb17833815705b2784bc0eb8a9f5e46bc761911 /src/storage.c
parent39c1cfe1013d5731f64407881ddf3dc16942063a (diff)
downloadconnman-86cd761a6e375875ec904ea378ed61d4fc41e1b8.tar.gz
connman-86cd761a6e375875ec904ea378ed61d4fc41e1b8.tar.bz2
connman-86cd761a6e375875ec904ea378ed61d4fc41e1b8.zip
storage: Remove support for loading services from default.profile
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/storage.c b/src/storage.c
index e35a893e..a8540734 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;
}