From: Stephan Bosch Date: Wed, 27 Feb 2019 20:59:08 +0000 (+0100) Subject: lib-smtp: smtp-server-connection - Drop the connection ID. X-Git-Tag: 2.3.9~727 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30705e3d5ea7d326dfbc6f91236481642da03428;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: smtp-server-connection - Drop the connection ID. This is now unused. --- diff --git a/src/lib-smtp/smtp-server-connection.c b/src/lib-smtp/smtp-server-connection.c index 02d55c5927..5aab00c35c 100644 --- a/src/lib-smtp/smtp-server-connection.c +++ b/src/lib-smtp/smtp-server-connection.c @@ -811,7 +811,6 @@ smtp_server_connection_alloc(struct smtp_server *server, const struct smtp_server_callbacks *callbacks, void *context) { - static unsigned int id = 0; struct smtp_server_connection *conn; pool_t pool; @@ -819,7 +818,6 @@ smtp_server_connection_alloc(struct smtp_server *server, conn = p_new(pool, struct smtp_server_connection, 1); conn->pool = pool; conn->refcount = 1; - conn->id = id++; conn->server = server; conn->callbacks = callbacks; conn->context = context; diff --git a/src/lib-smtp/smtp-server-private.h b/src/lib-smtp/smtp-server-private.h index 6f1432cab9..e9d886445a 100644 --- a/src/lib-smtp/smtp-server-private.h +++ b/src/lib-smtp/smtp-server-private.h @@ -157,7 +157,6 @@ struct smtp_server_connection { struct smtp_server_helo_data helo, *pending_helo; char *helo_domain, *username; - unsigned int id; struct timeout *to_idle; struct istream *raw_input;