storage: Remove support for loading services from default.profile
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 18 May 2012 08:44:06 +0000 (11:44 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 24 May 2012 13:33:24 +0000 (16:33 +0300)
src/storage.c

index e35a893..a854073 100644 (file)
@@ -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;
 }