]> git.kaiwu.me - nginx.git/commitdiff
Unused macro and variable removed.
authorSergey Kandaurov <pluknet@nginx.com>
Wed, 2 Oct 2013 07:51:04 +0000 (11:51 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Wed, 2 Oct 2013 07:51:04 +0000 (11:51 +0400)
The macro NGX_HTTP_DAV_COPY_BLOCK is not used since 8101d9101ed8 (0.8.9).
The variable ngx_accept_mutex_lock_file was never used.

src/event/ngx_event.c
src/http/modules/ngx_http_dav_module.c

index c4c61204b78e131024b6d582b3b39c2f5c3bf2f4..e2857f0c05cd7e28218a2531101ff0e939cad6df 100644 (file)
@@ -56,7 +56,6 @@ ngx_uint_t            ngx_accept_events;
 ngx_uint_t            ngx_accept_mutex_held;
 ngx_msec_t            ngx_accept_mutex_delay;
 ngx_int_t             ngx_accept_disabled;
-ngx_file_t            ngx_accept_mutex_lock_file;
 
 
 #if (NGX_STAT_STUB)
index a97c60e44de0229109f5831760df5d411af87017..2a179922c339d3bef2e36aeec59a0d5d2abf5c28 100644 (file)
@@ -10,8 +10,6 @@
 #include <ngx_http.h>
 
 
-#define NGX_HTTP_DAV_COPY_BLOCK      65536
-
 #define NGX_HTTP_DAV_OFF             2