summaryrefslogtreecommitdiff
path: root/src/storage.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-22 14:02:40 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-22 14:02:40 +0200
commit419234745e1d26965c582c8bad288e0d9b157868 (patch)
tree9dccca3a9f79c131cc05881d9cc9301d6316d63a /src/storage.c
parent6a26b21add0c73eb967a3d7e1582691b4d66d470 (diff)
downloadconnman-419234745e1d26965c582c8bad288e0d9b157868.tar.gz
connman-419234745e1d26965c582c8bad288e0d9b157868.tar.bz2
connman-419234745e1d26965c582c8bad288e0d9b157868.zip
Remove deprecated and unused network storage callbacks
Diffstat (limited to 'src/storage.c')
-rw-r--r--src/storage.c79
1 files changed, 0 insertions, 79 deletions
diff --git a/src/storage.c b/src/storage.c
index 88443f9e..34df8625 100644
--- a/src/storage.c
+++ b/src/storage.c
@@ -168,24 +168,6 @@ int __connman_storage_save_global(void)
return -ENOENT;
}
-int __connman_storage_init_device(void)
-{
- GSList *list;
-
- DBG("");
-
- for (list = storage_list; list; list = list->next) {
- struct connman_storage *storage = list->data;
-
- if (storage->device_init) {
- if (storage->device_init() == 0)
- return 0;
- }
- }
-
- return -ENOENT;
-}
-
int __connman_storage_load_device(struct connman_device *device)
{
GSList *list;
@@ -222,67 +204,6 @@ int __connman_storage_save_device(struct connman_device *device)
return -ENOENT;
}
-int __connman_storage_init_network(struct connman_device *device)
-{
- GSList *list;
-
- DBG("device %p", device);
-
- for (list = storage_list; list; list = list->next) {
- struct connman_storage *storage = list->data;
-
- if (storage->network_init) {
- if (storage->network_init(device) == 0)
- return 0;
- }
- }
-
- return -ENOENT;
-}
-
-int __connman_storage_load_network(struct connman_network *network)
-{
- GSList *list;
-
- DBG("network %p", network);
-
- for (list = storage_list; list; list = list->next) {
- struct connman_storage *storage = list->data;
-
- if (storage->network_load) {
- if (storage->network_load(network) == 0)
- return 0;
- }
- }
-
- return -ENOENT;
-}
-
-int __connman_storage_save_network(struct connman_network *network)
-{
- GSList *list;
-
- DBG("network %p", network);
-
- for (list = storage_list; list; list = list->next) {
- struct connman_storage *storage = list->data;
-
- if (storage->network_save) {
- if (storage->network_save(network) == 0)
- return 0;
- }
- }
-
- return -ENOENT;
-}
-
-int __connman_storage_init_service(void)
-{
- DBG("");
-
- return -ENOENT;
-}
-
int __connman_storage_load_service(struct connman_service *service)
{
GSList *list;