nginx-0.0.2-2004-02-26-20:10:01 import
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c
index 235e703..a9ddb82 100644
--- a/src/core/ngx_times.c
+++ b/src/core/ngx_times.c
@@ -77,10 +77,8 @@
}
#if (NGX_THREADS)
- if (ngx_time_mutex) {
- if (ngx_mutex_trylock(ngx_time_mutex) != NGX_OK) {
- return;
- }
+ if (ngx_mutex_trylock(ngx_time_mutex) != NGX_OK) {
+ return;
}
#endif
@@ -119,9 +117,7 @@
tm.ngx_tm_sec);
#if (NGX_THREADS)
- if (ngx_time_mutex) {
- ngx_mutex_unlock(ngx_time_mutex);
- }
+ ngx_mutex_unlock(ngx_time_mutex);
#endif
}