From: Timo Sirainen Date: Mon, 28 Feb 2022 11:11:35 +0000 (-0500) Subject: global: Remove unused macros X-Git-Tag: 2.4.0~4257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8fe45aa74bd56ca9e7a14f9ed7363fdfeda78d5;p=thirdparty%2Fdovecot%2Fcore.git global: Remove unused macros --- diff --git a/src/anvil/penalty.c b/src/anvil/penalty.c index 2ab6da16aa..b7789c4373 100644 --- a/src/anvil/penalty.c +++ b/src/anvil/penalty.c @@ -16,7 +16,6 @@ #include #define PENALTY_DEFAULT_EXPIRE_SECS (60*60) -#define PENALTY_CHECKSUM_SAVE_COUNT #define CHECKSUM_VALUE_COUNT 2 #define CHECKSUM_VALUE_PTR_COUNT 10 diff --git a/src/auth/auth-worker-client.c b/src/auth/auth-worker-client.c index ff88bc2ed9..d9c1fdfce2 100644 --- a/src/auth/auth-worker-client.c +++ b/src/auth/auth-worker-client.c @@ -20,7 +20,6 @@ #define OUTBUF_THROTTLE_SIZE (1024*10) #define CLIENT_STATE_HANDSHAKE "handshaking" -#define CLIENT_STATE_ITER "iterating users" #define CLIENT_STATE_IDLE "idling" #define CLIENT_STATE_STOP "waiting for shutdown" diff --git a/src/auth/mech-digest-md5.c b/src/auth/mech-digest-md5.c index d7f4383440..06553d00ec 100644 --- a/src/auth/mech-digest-md5.c +++ b/src/auth/mech-digest-md5.c @@ -15,8 +15,6 @@ #include "passdb.h" -#define MAX_REALM_LEN 64 - /* Linear whitespace */ #define IS_LWS(c) ((c) == ' ' || (c) == '\t') diff --git a/src/auth/mech-winbind.c b/src/auth/mech-winbind.c index d2525db9bd..fa2fe152fa 100644 --- a/src/auth/mech-winbind.c +++ b/src/auth/mech-winbind.c @@ -20,8 +20,6 @@ #include #include -#define DEFAULT_WINBIND_HELPER_PATH "/usr/bin/ntlm_auth" - enum helper_result { HR_OK = 0, /* OK or continue */ HR_FAIL = -1, /* authentication failed */ diff --git a/src/director/director-connection.c b/src/director/director-connection.c index 697bd6487f..253d3dab8d 100644 --- a/src/director/director-connection.c +++ b/src/director/director-connection.c @@ -79,7 +79,6 @@ #define DIRECTOR_RECONNECT_AFTER_WRONG_CONNECT_MSECS 1000 #define DIRECTOR_WAIT_DISCONNECT_SECS 10 #define DIRECTOR_HANDSHAKE_WARN_SECS 29 -#define DIRECTOR_HANDSHAKE_BYTES_LOG_MIN_SECS (60*30) #define DIRECTOR_MAX_SYNC_SEQ_DUPLICATES 4 /* If we receive SYNCs with a timestamp this many seconds higher than the last valid received SYNC timestamp, assume that we lost the director's restart diff --git a/src/doveadm/doveadm-mail-server.c b/src/doveadm/doveadm-mail-server.c index 5c71b0e0e1..f9a8f752be 100644 --- a/src/doveadm/doveadm-mail-server.c +++ b/src/doveadm/doveadm-mail-server.c @@ -19,7 +19,6 @@ #include "doveadm-print.h" #include "doveadm-mail.h" -#define DOVEADM_SERVER_CONNECTIONS_MAX 4 #define DOVEADM_SERVER_QUEUE_MAX 16 #define DOVEADM_MAIL_SERVER_FAILED() \ diff --git a/src/imap-urlauth/imap-urlauth-client.c b/src/imap-urlauth/imap-urlauth-client.c index d3f4ebc549..f1794d944a 100644 --- a/src/imap-urlauth/imap-urlauth-client.c +++ b/src/imap-urlauth/imap-urlauth-client.c @@ -33,8 +33,6 @@ /* Disconnect client after idling this many milliseconds */ #define CLIENT_IDLE_TIMEOUT_MSECS (10*60*1000) -#define USER_EXECUTABLE "imap-urlauth-worker" - #define IS_STANDALONE() \ (getenv(MASTER_IS_PARENT_ENV) == NULL) diff --git a/src/imap-urlauth/imap-urlauth-worker.c b/src/imap-urlauth/imap-urlauth-worker.c index 4dc413a431..3edf677151 100644 --- a/src/imap-urlauth/imap-urlauth-worker.c +++ b/src/imap-urlauth/imap-urlauth-worker.c @@ -31,8 +31,6 @@ #include #include -#define MAX_CTRL_HANDSHAKE 255 - /* max. length of input lines (URLs) */ #define MAX_INBUF_SIZE 2048 diff --git a/src/indexer/worker-pool.c b/src/indexer/worker-pool.c index 5b667706f8..9d7ca5ab1f 100644 --- a/src/indexer/worker-pool.c +++ b/src/indexer/worker-pool.c @@ -8,8 +8,6 @@ #include "worker-connection.h" #include "worker-pool.h" -#define MAX_WORKER_IDLE_SECS (60*5) - struct worker_pool { char *socket_path; indexer_status_callback_t *callback; diff --git a/src/lib-compression/compression.h b/src/lib-compression/compression.h index 60d58bfb37..d78e44f2b5 100644 --- a/src/lib-compression/compression.h +++ b/src/lib-compression/compression.h @@ -7,11 +7,6 @@ enum istream_decompress_flags { ISTREAM_DECOMPRESS_FLAG_TRY = BIT(0), }; -/* Compressed input is always detected once at maximum this many bytes have - been read. This value must be smaller than a typical istream max buffer - size. */ -#define COMPRESSION_HDR_MAX_SIZE 128 - struct compression_handler { const char *name; const char *ext; diff --git a/src/lib-dcrypt/istream-decrypt.c b/src/lib-dcrypt/istream-decrypt.c index be550fb1b4..ac40a0bcc0 100644 --- a/src/lib-dcrypt/istream-decrypt.c +++ b/src/lib-dcrypt/istream-decrypt.c @@ -17,8 +17,6 @@ #include -#define ISTREAM_DECRYPT_READ_FIRST 15 - struct decrypt_istream_snapshot { struct istream_snapshot snapshot; struct decrypt_istream *dstream; diff --git a/src/lib-dns/test-dns-lookup.c b/src/lib-dns/test-dns-lookup.c index bba7432373..db70923367 100644 --- a/src/lib-dns/test-dns-lookup.c +++ b/src/lib-dns/test-dns-lookup.c @@ -14,7 +14,6 @@ #include #define TEST_SOCKET_NAME ".test-dns-server" -#define TEST_CACHE_TTL 4 static const struct { const char *name; diff --git a/src/lib-fs/fs-sis-queue.c b/src/lib-fs/fs-sis-queue.c index 8ad7d98086..d1be57d31c 100644 --- a/src/lib-fs/fs-sis-queue.c +++ b/src/lib-fs/fs-sis-queue.c @@ -6,8 +6,6 @@ #include "ostream.h" #include "fs-sis-common.h" -#define QUEUE_DIR_NAME "queue" - struct sis_queue_fs { struct fs fs; char *queue_dir; diff --git a/src/lib-index/mail-index-lock.c b/src/lib-index/mail-index-lock.c index cdf62e4651..99d02381a2 100644 --- a/src/lib-index/mail-index-lock.c +++ b/src/lib-index/mail-index-lock.c @@ -21,8 +21,6 @@ #include "nfs-workarounds.h" #include "mail-index-private.h" -#define MAIL_INDEX_SHARED_LOCK_TIMEOUT 120 - int mail_index_lock_fd(struct mail_index *index, const char *path, int fd, int lock_type, unsigned int timeout_secs, struct file_lock **lock_r) diff --git a/src/lib-index/mail-index-strmap.c b/src/lib-index/mail-index-strmap.c index 1287c7386d..f10f0167db 100644 --- a/src/lib-index/mail-index-strmap.c +++ b/src/lib-index/mail-index-strmap.c @@ -77,9 +77,6 @@ struct mail_index_strmap_hash_key { uint32_t crc32; }; -/* number of bytes required to store one string idx */ -#define STRMAP_FILE_STRIDX_SIZE (sizeof(uint32_t)*2) - /* renumber the string indexes when highest string idx becomes larger than *STRMAP_FILE_MAX_STRIDX_MULTIPLIER */ #define STRMAP_FILE_MAX_STRIDX_MULTIPLIER 2 diff --git a/src/lib-index/mail-index-sync-update.c b/src/lib-index/mail-index-sync-update.c index 0c37995643..c1dfe1c36f 100644 --- a/src/lib-index/mail-index-sync-update.c +++ b/src/lib-index/mail-index-sync-update.c @@ -481,9 +481,6 @@ static int sync_flag_update(const struct mail_transaction_flag_update *u, static int sync_header_update(const struct mail_transaction_header_update *u, struct mail_index_sync_map_ctx *ctx) { -#define MAIL_INDEX_HEADER_UPDATE_FIELD_IN_RANGE(u, field) \ - ((u)->offset <= offsetof(struct mail_index_header, field) && \ - (u)->offset + (u)->size > offsetof(struct mail_index_header, field)) struct mail_index_map *map = ctx->view->map; uint32_t orig_log_file_tail_offset = map->hdr.log_file_tail_offset; uint32_t orig_next_uid = map->hdr.next_uid; diff --git a/src/lib-index/mail-index-write.c b/src/lib-index/mail-index-write.c index 9fb5784480..e5157deb32 100644 --- a/src/lib-index/mail-index-write.c +++ b/src/lib-index/mail-index-write.c @@ -10,10 +10,6 @@ #include -#define MAIL_INDEX_MIN_UPDATE_SIZE 1024 -/* if we're updating >= count-n messages, recreate the index */ -#define MAIL_INDEX_MAX_OVERWRITE_NEG_SEQ_COUNT 10 - static int mail_index_create_backup(struct mail_index *index) { const char *backup_path, *tmp_backup_path; diff --git a/src/lib-ldap/ldap-private.h b/src/lib-ldap/ldap-private.h index fa724f40df..9f3b20c5ae 100644 --- a/src/lib-ldap/ldap-private.h +++ b/src/lib-ldap/ldap-private.h @@ -6,10 +6,6 @@ #include -#define DOVE_LDAP_CONTINUE 0 -#define DOVE_LDAP_COMPLETE 1 -#define DOVE_LDAP_REQUEUE 2 - struct ldap_connection; struct ldap_result; diff --git a/src/lib-mail/message-part-serialize.c b/src/lib-mail/message-part-serialize.c index 23f3a01c8b..8d26a7132a 100644 --- a/src/lib-mail/message-part-serialize.c +++ b/src/lib-mail/message-part-serialize.c @@ -28,9 +28,6 @@ */ -#define MINIMUM_SERIALIZED_SIZE \ - (sizeof(unsigned int) + sizeof(uoff_t) * 4) - struct deserialize_context { pool_t pool; const unsigned char *data, *end; diff --git a/src/lib-smtp/smtp-client-private.h b/src/lib-smtp/smtp-client-private.h index 2fbb81ddb0..842eecc59c 100644 --- a/src/lib-smtp/smtp-client-private.h +++ b/src/lib-smtp/smtp-client-private.h @@ -10,8 +10,6 @@ #include "smtp-client-transaction.h" #include "smtp-client-connection.h" -#define SMTP_CLIENT_DATA_CHUNK_SIZE IO_BLOCK_SIZE - struct smtp_client_command { pool_t pool; int refcount; diff --git a/src/lib-smtp/smtp-client.c b/src/lib-smtp/smtp-client.c index 653dd0ef18..9a55126fab 100644 --- a/src/lib-smtp/smtp-client.c +++ b/src/lib-smtp/smtp-client.c @@ -15,9 +15,6 @@ #include "smtp-client-private.h" -#define SMTP_DEFAULT_PORT 80 -#define SSMTP_DEFAULT_PORT 465 - static struct event_category event_category_smtp_client = { .name = "smtp-client" }; diff --git a/src/lib-smtp/smtp-server-private.h b/src/lib-smtp/smtp-server-private.h index 7a923365b4..3ee7e446e6 100644 --- a/src/lib-smtp/smtp-server-private.h +++ b/src/lib-smtp/smtp-server-private.h @@ -5,9 +5,6 @@ #include "smtp-server.h" -#define SMTP_SERVER_COMMAND_POOL_MAX (8 * 1024) - -#define SMTP_SERVER_DEFAULT_MAX_COMMAND_LINE (4 * 1024) #define SMTP_SERVER_DEFAULT_MAX_BAD_COMMANDS 10 #define SMTP_SERVER_DEFAULT_MAX_SIZE_EXCESS_LIMIT (1024*1024) diff --git a/src/lib-sql/driver-sqlpool.c b/src/lib-sql/driver-sqlpool.c index 553b2a0377..987082f5fd 100644 --- a/src/lib-sql/driver-sqlpool.c +++ b/src/lib-sql/driver-sqlpool.c @@ -8,8 +8,6 @@ #include -#define QUERY_TIMEOUT_SECS 6 - /* sqlpool events are separate from category:sql, because they are usually not very interesting, and would only make logging too noisy. They can be enabled explicitly. diff --git a/src/lib-storage/index/dbox-common/dbox-storage.h b/src/lib-storage/index/dbox-common/dbox-storage.h index af085df6ba..8e1aee28f2 100644 --- a/src/lib-storage/index/dbox-common/dbox-storage.h +++ b/src/lib-storage/index/dbox-common/dbox-storage.h @@ -14,7 +14,6 @@ struct dbox_save_context; #define DBOX_ALT_SYMLINK_NAME "dbox-alt-root" #define DBOX_MAILBOX_DIR_NAME "mailboxes" -#define DBOX_TRASH_DIR_NAME "trash" #define DBOX_MAILDIR_NAME "dbox-Mails" /* Delete temp files having ctime older than this. */ diff --git a/src/lib-storage/index/dbox-multi/mdbox-map.c b/src/lib-storage/index/dbox-multi/mdbox-map.c index 513db02c09..6ee237e264 100644 --- a/src/lib-storage/index/dbox-multi/mdbox-map.c +++ b/src/lib-storage/index/dbox-multi/mdbox-map.c @@ -15,9 +15,6 @@ #define MAX_BACKWARDS_LOOKUPS 10 -#define DBOX_FORCE_PURGE_MIN_BYTES (1024*1024*10) -#define DBOX_FORCE_PURGE_MIN_RATIO 0.5 - #define MAP_STORAGE(map) (&(map)->storage->storage.storage) struct mdbox_map_transaction_context { diff --git a/src/lib-storage/index/maildir/maildir-storage.c b/src/lib-storage/index/maildir/maildir-storage.c index e65579ff1f..3ac909a2e5 100644 --- a/src/lib-storage/index/maildir/maildir-storage.c +++ b/src/lib-storage/index/maildir/maildir-storage.c @@ -15,8 +15,6 @@ #include -#define MAILDIR_LIST_CONTEXT(obj) \ - MODULE_CONTEXT(obj, maildir_mailbox_list_module) #define MAILDIR_SUBFOLDER_FILENAME "maildirfolder" struct maildir_mailbox_list_context { diff --git a/src/lib-storage/index/maildir/maildir-storage.h b/src/lib-storage/index/maildir/maildir-storage.h index da92866a47..42efb5b0b8 100644 --- a/src/lib-storage/index/maildir/maildir-storage.h +++ b/src/lib-storage/index/maildir/maildir-storage.h @@ -14,7 +14,6 @@ #define MAILDIR_FLAGS_SEP ',' #define MAILDIR_INFO_SEP_S ":" -#define MAILDIR_EXTRA_SEP_S "," #define MAILDIR_FLAGS_SEP_S "," /* ":2," is the standard flags separator */ diff --git a/src/lib-storage/index/maildir/maildir-sync.c b/src/lib-storage/index/maildir/maildir-sync.c index 08144155b6..302ac329c8 100644 --- a/src/lib-storage/index/maildir/maildir-sync.c +++ b/src/lib-storage/index/maildir/maildir-sync.c @@ -189,8 +189,6 @@ #include #include -#define MAILDIR_FILENAME_FLAG_FOUND 128 - /* When rename()ing many files from new/ to cur/, it's possible that next readdir() skips some files. we don't of course wish to lose them, so we go and rescan the new/ directory again from beginning until no files are diff --git a/src/lib-storage/index/mbox/mbox-storage.c b/src/lib-storage/index/mbox/mbox-storage.c index 4b2bb359f9..fb19162160 100644 --- a/src/lib-storage/index/mbox/mbox-storage.c +++ b/src/lib-storage/index/mbox/mbox-storage.c @@ -20,12 +20,6 @@ /* How often to touch the dotlock file when using KEEP_LOCKED flag */ #define MBOX_LOCK_TOUCH_MSECS (10*1000) -/* Assume that if atime < mtime, there are new mails. If it's good enough for - UW-IMAP, it's good enough for us. */ -#define STAT_GET_MARKED(st) \ - ((st).st_size == 0 ? MAILBOX_UNMARKED : \ - (st).st_atime < (st).st_mtime ? MAILBOX_MARKED : MAILBOX_UNMARKED) - #define MBOX_LIST_CONTEXT(obj) \ MODULE_CONTEXT_REQUIRE(obj, mbox_mailbox_list_module) diff --git a/src/lib-storage/mail-duplicate.h b/src/lib-storage/mail-duplicate.h index c414893385..b24fdce042 100644 --- a/src/lib-storage/mail-duplicate.h +++ b/src/lib-storage/mail-duplicate.h @@ -20,8 +20,6 @@ enum mail_duplicate_check_result { MAIL_DUPLICATE_CHECK_RESULT_DEADLOCK, }; -#define MAIL_DUPLICATE_DEFAULT_KEEP (3600 * 24) - struct mail_duplicate_transaction * mail_duplicate_transaction_begin(struct mail_duplicate_db *db); void mail_duplicate_transaction_rollback( diff --git a/src/lib-storage/mail-storage-service.c b/src/lib-storage/mail-storage-service.c index 46c8dccfb8..eee7ae8f1d 100644 --- a/src/lib-storage/mail-storage-service.c +++ b/src/lib-storage/mail-storage-service.c @@ -39,9 +39,6 @@ #define MAX_TIME_BACKWARDS_SLEEP_MSECS (5*1000) #define MAX_NOWARN_FORWARD_MSECS (10*1000) -#define ERRSTR_INVALID_USER_SETTINGS \ - "Invalid user settings. Refer to server log for more information." - struct mail_storage_service_privileges { uid_t uid; gid_t gid; diff --git a/src/lib/file-lock.h b/src/lib/file-lock.h index 0939adc69e..141c763a9a 100644 --- a/src/lib/file-lock.h +++ b/src/lib/file-lock.h @@ -4,8 +4,6 @@ #include #include -#define DEFAULT_LOCK_TIMEOUT 120 - struct file_lock; struct dotlock; diff --git a/src/lib/iostream-rawlog-private.h b/src/lib/iostream-rawlog-private.h index 9a409e0179..1a2af0ea10 100644 --- a/src/lib/iostream-rawlog-private.h +++ b/src/lib/iostream-rawlog-private.h @@ -3,8 +3,6 @@ #include "iostream-rawlog.h" -#define IOSTREAM_RAWLOG_MAX_PREFIX_LEN 3 - struct rawlog_iostream { struct iostream_private *iostream; enum iostream_rawlog_flags flags; diff --git a/src/lib/istream-seekable.c b/src/lib/istream-seekable.c index 5bc19ada8e..76c0c2f469 100644 --- a/src/lib/istream-seekable.c +++ b/src/lib/istream-seekable.c @@ -13,8 +13,6 @@ #include -#define BUF_INITIAL_SIZE (1024*32) - struct seekable_istream { struct istream_private istream; diff --git a/src/lib/test-cpu-limit.c b/src/lib/test-cpu-limit.c index 56d47f9183..b6d99a39cb 100644 --- a/src/lib/test-cpu-limit.c +++ b/src/lib/test-cpu-limit.c @@ -13,7 +13,6 @@ comparisons. Note that system CPU usage can grow very large on loaded systems, so we're not checking its upper limit at all. */ #define ALLOW_MSECS_BELOW 500 -#define ALLOW_MSECS_ABOVE 3000 static const char *const test_path = ".test.cpulimit"; diff --git a/src/lib/unichar.c b/src/lib/unichar.c index 7036e73fbe..85a2ae620a 100644 --- a/src/lib/unichar.c +++ b/src/lib/unichar.c @@ -282,7 +282,6 @@ static void uni_ucs4_decompose_hangul_utf8(unichar_t chr, buffer_t *output) #define LBase 0x1100 #define VBase 0x1161 #define TBase 0x11A7 -#define LCount 19 #define VCount 21 #define TCount 28 #define NCount (VCount * TCount) diff --git a/src/lmtp/lmtp-client.h b/src/lmtp/lmtp-client.h index 80d77725fb..9442f21b2d 100644 --- a/src/lmtp/lmtp-client.h +++ b/src/lmtp/lmtp-client.h @@ -4,8 +4,6 @@ #include "net.h" #include "smtp-server.h" -#define CLIENT_MAIL_DATA_MAX_INMEMORY_SIZE (1024*128) - struct master_service_connection; struct mail_storage; struct mail_deliver_context; diff --git a/src/log/log-connection.c b/src/log/log-connection.c index 82c9374a09..926798bb38 100644 --- a/src/log/log-connection.c +++ b/src/log/log-connection.c @@ -16,7 +16,6 @@ #include #include -#define FATAL_QUEUE_TIMEOUT_MSECS 500 #define MAX_MSECS_PER_CONNECTION 100 /* Log a warning after 1 secs when we've been all the time busy writing the diff --git a/src/login-common/login-proxy.c b/src/login-common/login-proxy.c index 03147cbb4a..9e6b427ece 100644 --- a/src/login-common/login-proxy.c +++ b/src/login-common/login-proxy.c @@ -27,7 +27,6 @@ #define LOGIN_PROXY_DIE_IDLE_SECS 2 #define LOGIN_PROXY_KILL_PREFIX "Disconnected by proxy: " #define KILLED_BY_ADMIN_REASON "Kicked by admin" -#define KILLED_BY_DIRECTOR_REASON "Kicked via director" #define KILLED_BY_SHUTDOWN_REASON "Process shutting down" #define LOGIN_PROXY_SIDE_SELF "proxy" /* Wait this long before retrying on reconnect */ diff --git a/src/plugins/acl/acl-cache.c b/src/plugins/acl/acl-cache.c index 8f07d56c7d..1138980633 100644 --- a/src/plugins/acl/acl-cache.c +++ b/src/plugins/acl/acl-cache.c @@ -10,8 +10,6 @@ IMAP ACLs define only 10 standard rights and 10 user-defined rights. */ #define DEFAULT_ACL_RIGHTS_COUNT 64 -#define ACL_GLOBAL_COUNT 2 - struct acl_object_cache { char *name; diff --git a/src/plugins/acl/acl-mailbox-list.c b/src/plugins/acl/acl-mailbox-list.c index 18e04ad9b3..4d3eb761c6 100644 --- a/src/plugins/acl/acl-mailbox-list.c +++ b/src/plugins/acl/acl-mailbox-list.c @@ -13,8 +13,6 @@ #include "acl-shared-storage.h" #include "acl-plugin.h" -#define MAILBOX_FLAG_MATCHED 0x40000000 - struct acl_mailbox_list_iterate_context { union mailbox_list_iterate_module_context module_ctx; diff --git a/src/plugins/imap-zlib/imap-zlib-plugin.c b/src/plugins/imap-zlib/imap-zlib-plugin.c index df5508bf13..315f5e0fda 100644 --- a/src/plugins/imap-zlib/imap-zlib-plugin.c +++ b/src/plugins/imap-zlib/imap-zlib-plugin.c @@ -10,8 +10,6 @@ #include "imap-zlib-plugin.h" -#define IMAP_COMPRESS_DEFAULT_LEVEL 6 - #define IMAP_ZLIB_IMAP_CONTEXT(obj) \ MODULE_CONTEXT_REQUIRE(obj, imap_zlib_imap_module) diff --git a/src/plugins/quota/test-quota-util.c b/src/plugins/quota/test-quota-util.c index 682cffe517..fd6af2ba44 100644 --- a/src/plugins/quota/test-quota-util.c +++ b/src/plugins/quota/test-quota-util.c @@ -15,7 +15,6 @@ static void test_quota_transaction_is_over(void) { #define MAXU64 (uint64_t)-1 #define MAXS64 9223372036854775807LL -#define MINS64 (-MAXS64 - 1LL) static const struct test tests[] = { /* first test only with new_size=1. these are used for both count and bytes tests: */ diff --git a/src/plugins/replication/replication-plugin.c b/src/plugins/replication/replication-plugin.c index 9b4bb089e3..29e4dd8d6e 100644 --- a/src/plugins/replication/replication-plugin.c +++ b/src/plugins/replication/replication-plugin.c @@ -18,7 +18,6 @@ #define REPLICATION_SOCKET_NAME "replication-notify" #define REPLICATION_FIFO_NAME "replication-notify-fifo" #define REPLICATION_NOTIFY_DELAY_MSECS 500 -#define REPLICATION_SYNC_TIMEOUT_SECS 10 #define REPLICATION_USER_CONTEXT(obj) \ MODULE_CONTEXT(obj, replication_user_module)