diff options
author | Alok Barsode <alok.barsode@linux.intel.com> | 2011-08-24 16:44:25 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-08-25 11:14:24 +0200 |
commit | c47003378095e649713cffd234a915912a04fbf5 (patch) | |
tree | eff4ce0600f791b71704168c85800590babd902d /src/storage.c | |
parent | f8ef8b2a7f7ef1bd9e26df6cfb19a838e6b10b17 (diff) | |
download | connman-c47003378095e649713cffd234a915912a04fbf5.tar.gz connman-c47003378095e649713cffd234a915912a04fbf5.tar.bz2 connman-c47003378095e649713cffd234a915912a04fbf5.zip |
storage: Remove technology state load/save methods from storage module
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/storage.c b/src/storage.c index 261b615f..3444fbeb 100644 --- a/src/storage.c +++ b/src/storage.c @@ -217,42 +217,6 @@ int __connman_storage_save_service(struct connman_service *service) return -ENOENT; } -int __connman_storage_load_technology(struct connman_technology *technology) -{ - GSList *list; - - DBG("technology %p", technology); - - for (list = storage_list; list; list = list->next) { - struct connman_storage *storage = list->data; - - if (storage->tech_load) { - if (storage->tech_load(technology) == 0) - return 0; - } - } - - return -ENOENT; -} - -int __connman_storage_save_technology(struct connman_technology *technology) -{ - GSList *list; - - DBG("technology %p", technology); - - for (list = storage_list; list; list = list->next) { - struct connman_storage *storage = list->data; - - if (storage->tech_save) { - if (storage->tech_save(technology) == 0) - return 0; - } - } - - return -ENOENT; -} - int __connman_storage_init(void) { DBG(""); |