From: Patrik Flykt Date: Fri, 18 May 2012 08:44:06 +0000 (+0300) Subject: storage: Remove support for loading services from default.profile X-Git-Tag: accepted/2.0alpha-wayland/20121110.002834~164 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86cd761a6e375875ec904ea378ed61d4fc41e1b8;p=profile%2Fivi%2Fconnman.git storage: Remove support for loading services from default.profile --- 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; }