From: Timo Sirainen Date: Tue, 2 Feb 2021 13:26:08 +0000 (+0200) Subject: lib-index: Remove unused mail_transaction_log_file.saved_tail_sync_offset X-Git-Tag: 2.3.16~276 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52fb04014498b61b708fb79bf5f285b98bc09842;p=thirdparty%2Fdovecot%2Fcore.git lib-index: Remove unused mail_transaction_log_file.saved_tail_sync_offset Shrinking tail_offsets have been ignored since 082e82792b8ac33ad42beac510441b37a3c50737 --- diff --git a/src/lib-index/mail-transaction-log-file.c b/src/lib-index/mail-transaction-log-file.c index b1e46807d6..91d28023f3 100644 --- a/src/lib-index/mail-transaction-log-file.c +++ b/src/lib-index/mail-transaction-log-file.c @@ -181,7 +181,6 @@ mail_transaction_log_file_skip_to_head(struct mail_transaction_log_file *file) if (file->hdr.file_seq == log->index->map->hdr.log_file_seq) { file->last_read_hdr_tail_offset = log->index->map->hdr.log_file_tail_offset; - file->saved_tail_sync_offset = file->last_read_hdr_tail_offset; } if (file->last_read_hdr_tail_offset > file->max_tail_offset) file->max_tail_offset = file->last_read_hdr_tail_offset; diff --git a/src/lib-index/mail-transaction-log-private.h b/src/lib-index/mail-transaction-log-private.h index b41566eb26..0803dc471c 100644 --- a/src/lib-index/mail-transaction-log-private.h +++ b/src/lib-index/mail-transaction-log-private.h @@ -56,9 +56,6 @@ struct mail_transaction_log_file { max_tail_offset automatically by making it skip external transactions after the last saved offset (to avoid re-reading them needlessly). */ uoff_t last_read_hdr_tail_offset, max_tail_offset; - /* don't give warnings about last_read_hdr_tail_offset shrinking if - sync_offset is less than this. */ - uoff_t saved_tail_sync_offset; /* if we've seen _INDEX_[UN9DELETED transaction in this file, this is the offset. otherwise UOFF_T_MAX */