[nginx] Thread pools: removed unused pointer to memory pool.

Valentin Bartenev vbart at nginx.com
Mon Mar 23 14:54:31 UTC 2015


details:   http://hg.nginx.org/nginx/rev/2097cd49a158
branches:  
changeset: 6041:2097cd49a158
user:      Valentin Bartenev <vbart at nginx.com>
date:      Mon Mar 23 17:51:21 2015 +0300
description:
Thread pools: removed unused pointer to memory pool.

No functional changes.

diffstat:

 src/core/ngx_thread_pool.c |  2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r adaedab1e662 -r 2097cd49a158 src/core/ngx_thread_pool.c
--- a/src/core/ngx_thread_pool.c	Mon Mar 23 17:51:21 2015 +0300
+++ b/src/core/ngx_thread_pool.c	Mon Mar 23 17:51:21 2015 +0300
@@ -33,7 +33,6 @@ struct ngx_thread_pool_s {
     ngx_thread_cond_t         cond;
 
     ngx_log_t                *log;
-    ngx_pool_t               *pool;
 
     ngx_str_t                 name;
     ngx_uint_t                threads;
@@ -129,7 +128,6 @@ ngx_thread_pool_init(ngx_thread_pool_t *
     }
 
     tp->log = log;
-    tp->pool = pool;
 
     err = pthread_attr_init(&attr);
     if (err) {



More information about the nginx-devel mailing list