]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Remove unused mail_storage_service_get_settings()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Sat, 26 Feb 2022 21:27:35 +0000 (22:27 +0100)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 30 Nov 2022 12:35:26 +0000 (14:35 +0200)
src/lib-storage/mail-storage-service.c
src/lib-storage/mail-storage-service.h

index ca584f7dfdadb278359f8f1918b2b773e0e49a25..44c2e3ec5a660186c57aa875c376362ab5144e3d 100644 (file)
@@ -1803,17 +1803,6 @@ pool_t mail_storage_service_user_get_pool(struct mail_storage_service_user *user
        return user->pool;
 }
 
-void *mail_storage_service_get_settings(struct master_service *service)
-{
-       void **sets, *set;
-
-       T_BEGIN {
-               sets = master_service_settings_get_others(service);
-               set = sets[1];
-       } T_END;
-       return set;
-}
-
 int mail_storage_service_user_set_setting(struct mail_storage_service_user *user,
                                          const char *key,
                                          const char *value,
index cf5b8798ab7f36e28b52c78926ea68f9453ec357..713a58f1270b4f6589fd55193003f6948828d627 100644 (file)
@@ -175,8 +175,6 @@ mail_storage_service_get_var_expand_table(struct mail_storage_service_ctx *ctx,
                                          struct mail_storage_service_input *input);
 const char *mail_storage_service_fields_var_expand(const char *data,
                                                   const char *const *fields);
-/* Return the settings pointed to by set_root parameter in _init() */
-void *mail_storage_service_get_settings(struct master_service *service);
 /* Updates settings for storage service user, forwards return value of settings_parse_keyvalue() */
 int mail_storage_service_user_set_setting(struct mail_storage_service_user *user,
                                          const char *key,