summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-03-20 06:43:19 +0300
committerRuslan Ermilov <ru@nginx.com>2015-03-20 06:43:19 +0300
commitf8d10849adcac3cbae03aa520660e7b80433bb7a (patch)
tree327d8cc4c501aac8cb37d0e1b90d7971c0877e4a /src/http
parentb6029a8a3fbe8577386a2a5e67c86700900afaf6 (diff)
downloadnginx-f8d10849adcac3cbae03aa520660e7b80433bb7a.tar.gz
nginx-f8d10849adcac3cbae03aa520660e7b80433bb7a.tar.bz2
Removed ngx_connection_t.lock.
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ngx_http_upstream.c3
1 files changed, 0 insertions, 3 deletions
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;