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: 1.1~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86cd761a6e375875ec904ea378ed61d4fc41e1b8;p=platform%2Fupstream%2Fconnman.git storage: Remove support for loading services from default.profile --- diff --git a/src/storage.c b/src/storage.c index e35a893e..a8540734 100644 --- a/src/storage.c +++ b/src/storage.c @@ -255,16 +255,6 @@ GKeyFile *connman_storage_load_service(const char *service_id) return NULL; 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;