diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-18 11:44:06 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-05-24 16:33:24 +0300 |
commit | 86cd761a6e375875ec904ea378ed61d4fc41e1b8 (patch) | |
tree | 9fb17833815705b2784bc0eb8a9f5e46bc761911 /src/storage.c | |
parent | 39c1cfe1013d5731f64407881ddf3dc16942063a (diff) | |
download | connman-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.c | 10 |
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; } |