projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39c1cfe
)
storage: Remove support for loading services from default.profile
author
Patrik Flykt
<patrik.flykt@linux.intel.com>
Fri, 18 May 2012 08:44:06 +0000
(11:44 +0300)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Thu, 24 May 2012 13:33:24 +0000
(16:33 +0300)
src/storage.c
patch
|
blob
|
history
diff --git
a/src/storage.c
b/src/storage.c
index
e35a893
..
a854073
100644
(file)
--- 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;
}