]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-index: Remove mail_cache_compress_forced()
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 27 Mar 2020 10:44:27 +0000 (12:44 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 15 Apr 2020 09:41:42 +0000 (12:41 +0300)
src/lib-index/mail-cache-compress.c
src/lib-index/mail-cache.h

index dd43b1ffef0f9dc8164927957521b3636790dbe9..064ecad2e8864352065f07f113ed6b2a2a3fd891 100644 (file)
@@ -593,13 +593,6 @@ int mail_cache_compress(struct mail_cache *cache, uint32_t compress_file_seq)
        return ret;
 }
 
-int mail_cache_compress_forced(struct mail_cache *cache,
-                              struct mail_index_transaction *trans,
-                              struct mail_cache_compress_lock **lock_r)
-{
-       return mail_cache_compress_full(cache, trans, (uint32_t)-1, lock_r);
-}
-
 void mail_cache_compress_unlock(struct mail_cache_compress_lock **_lock)
 {
        struct mail_cache_compress_lock *lock = *_lock;
index 3c62188cbc6c3a2ffb4eb91de5a6c28d9c0b1eb9..a01562a2e14ae5fa54a33dfda24cf46a0370a57f 100644 (file)
@@ -83,9 +83,6 @@ int mail_cache_compress_with_trans(struct mail_cache *cache,
                                   uint32_t compress_file_seq,
                                   struct mail_cache_compress_lock **lock_r);
 int mail_cache_compress(struct mail_cache *cache, uint32_t compress_file_seq);
-int mail_cache_compress_forced(struct mail_cache *cache,
-                              struct mail_index_transaction *trans,
-                              struct mail_cache_compress_lock **lock_r);
 void mail_cache_compress_unlock(struct mail_cache_compress_lock **lock);
 /* Returns TRUE if there is at least something in the cache. */
 bool mail_cache_exists(struct mail_cache *cache);