]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-storage: Remove mail_storage_service_io_deactivate()
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 11 Dec 2017 23:20:52 +0000 (01:20 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 13 Dec 2017 11:04:27 +0000 (13:04 +0200)
We now require that ioloop context is always properly deactivated, so
there's no need for the function.

src/lib-storage/mail-storage-service.c
src/lib-storage/mail-storage-service.h

index ae4e8283220f540dadeb1aff243da154c2e4c598..740e7f67a630e2bfa17d7d59877741497b5bc75d 100644 (file)
@@ -794,11 +794,6 @@ mail_storage_service_io_deactivate_user_cb(struct mail_storage_service_user *use
                i_set_failure_prefix("%s", user->service_ctx->default_log_prefix);
 }
 
-void mail_storage_service_io_deactivate(struct mail_storage_service_ctx *ctx)
-{
-       i_set_failure_prefix("%s", ctx->default_log_prefix);
-}
-
 static const char *field_get_default(const char *data)
 {
        const char *p;
index 9bbb304ec00f467a1b63d6fc671a45671cf36aac..f6877974d0c0230192de53cd4a375ad4eae739b1 100644 (file)
@@ -142,7 +142,6 @@ void mail_storage_service_io_activate_user(struct mail_storage_service_user *use
 /* Deactivate user context. This only switches back to non-user-specific
    log prefix. */
 void mail_storage_service_io_deactivate_user(struct mail_storage_service_user *user);
-void mail_storage_service_io_deactivate(struct mail_storage_service_ctx *ctx);
 
 /* Return the settings pointed to by set_root parameter in _init().
    The settings contain all the changes done by userdb lookups. */