From f8d10849adcac3cbae03aa520660e7b80433bb7a Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 20 Mar 2015 06:43:19 +0300 Subject: Removed ngx_connection_t.lock. --- src/http/ngx_http_upstream.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/http') diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index fcff4a4c3..3c2efadd6 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -446,9 +446,6 @@ ngx_http_upstream_create(ngx_http_request_t *r) u->peer.log = r->connection->log; u->peer.log_error = NGX_ERROR_ERR; -#if (NGX_OLD_THREADS) - u->peer.lock = &r->connection->lock; -#endif #if (NGX_HTTP_CACHE) r->cache = NULL; -- cgit